builtin/ls-remote.c: rearrange xcalloc arguments
commitedd2d8466523094c9b14762e402b0de15d68fec0
authorBrian Gesiak <modocache@gmail.com>
Mon, 26 May 2014 15:33:43 +0000 (27 00:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2014 21:00:43 +0000 (27 14:00 -0700)
tree64086bbfd942a008185ca6828f91f63d4756c715
parent4a28f169ad29ba452e0e7bea2583914c10c58322
builtin/ls-remote.c: rearrange xcalloc arguments

xcalloc() takes two arguments: the number of elements and their size.
cmd_ls_remote() passes the arguments in reverse order, passing the
size of a char*, followed by the number of char* to be allocated.

Rearrange them so they are in the correct order.

Signed-off-by: Brian Gesiak <modocache@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-remote.c