summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index f2c56c8454..de00d1693a 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1732,7 +1732,7 @@ int main(int argc, char **argv)
git_extract_argv0_path(argv[0]);
- repo = xcalloc(sizeof(*repo), 1);
+ repo = xcalloc(1, sizeof(*repo));
argv++;
for (i = 1; i < argc; i++, argv++) {