Merge branch 'jm/instaweb-apache-24'
[gitweb.git] / transport-helper.c
index d9063d714591bad2e44a4e58fdffc3bb1708157d..4cfb8f3a4acc36681774e165f92de7fbd948fde5 100644 (file)
@@ -1014,7 +1014,7 @@ static struct ref *get_refs_list(struct transport *transport, int for_push)
 
 int transport_helper_init(struct transport *transport, const char *name)
 {
-       struct helper_data *data = xcalloc(sizeof(*data), 1);
+       struct helper_data *data = xcalloc(1, sizeof(*data));
        data->name = name;
 
        if (getenv("GIT_TRANSPORT_HELPER_DEBUG"))