]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sg/xcalloc-cocci-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2022 19:21:09 +0000 (12:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2022 19:21:09 +0000 (12:21 -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