remote.c: rearrange xcalloc arguments
commitda7a478bc055bd5fdbdf1895367c803d528cf579
authorBrian Gesiak <modocache@gmail.com>
Mon, 26 May 2014 15:33:55 +0000 (27 00:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2014 21:02:45 +0000 (27 14:02 -0700)
tree9e581441bed4230d630c5e96d7021242fad6f193
parent8e1aa2f792b78f2528157428c7932ffa9adcbea6
remote.c: rearrange xcalloc arguments

xcalloc() takes two arguments: the number of elements and their size.
parse_refspec_internal passes the arguments in reverse order, passing the
size of a refspec, followed by the number to allocate.

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>
remote.c