]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sg/xcalloc-cocci-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2022 21:55:14 +0000 (14:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2022 21:55:14 +0000 (14:55 -0700)
xcalloc(), imitating calloc(), takes "number of elements of the
array", and "size of a single element", in this order.  A call that
does not follow this ordering has been corrected.

* sg/xcalloc-cocci-fix:
  promisor-remote: fix xcalloc() argument order

1  2 
promisor-remote.c

Simple merge