summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2014-05-27 00:33:56 +0900
committerJunio C Hamano <gitster@pobox.com>2014-05-27 14:02:45 -0700
commit92e25b6b5b66320e73ace921f3db816ef4243d1b (patch)
tree27c78ec475847d7dbcd6019708cfbf91af12f094 /run-command.c
parentda7a478bc055bd5fdbdf1895367c803d528cf579 (diff)
downloadgit-92e25b6b5b66320e73ace921f3db816ef4243d1b.tar.gz
transport-helper.c: rearrange xcalloc argumentsbg/xcalloc-nmemb-then-size
xcalloc() takes two arguments: the number of elements and their size. transport_helper_init passes the arguments in reverse order, passing the size of a helper_data*, 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>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions