X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=receive-pack.c;fp=receive-pack.c;h=ce986fe11cd8989b439f070e9bea5d68b6711758;hb=8f1d2e6f49ee51ac062ab38337a6a70dd1998def;hp=92878ecac3bdb12efe0d34257852b432558e21f6;hpb=3be7098ce444395959c856de1eb9312550193aac;p=git.git diff --git a/receive-pack.c b/receive-pack.c index 92878eca..ce986fe1 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -24,7 +24,7 @@ struct command { unsigned char updated; unsigned char old_sha1[20]; unsigned char new_sha1[20]; - char ref_name[0]; + char ref_name[FLEX_ARRAY]; /* more */ }; static struct command *commands = NULL;