receive-pack: use FLEX_ALLOC_MEM in queue_command()
commitddd0bfac7cfaabc7c0422ecee9604ede9c4841d1
authorRené Scharfe <l.s.r@web.de>
Sat, 13 Aug 2016 15:38:56 +0000 (13 17:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Aug 2016 02:49:30 +0000 (13 19:49 -0700)
treef8add82ee82cd7f7101ee9a51924f1f9d6698f3e
parent0bb1519f05aed047a969b9fe0bfa80e6ef804c7f
receive-pack: use FLEX_ALLOC_MEM in queue_command()

Use the macro FLEX_ALLOC_MEM instead of open-coding it.  This shortens
and simplifies the code a bit.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c