Code

GIT 1.1.0
[git.git] / receive-pack.c
index e79de917b542eb35d6b5752837b25ccae897646e..f847ec2b54b74e2b9bee7bde8fccbaa8ee569573 100644 (file)
@@ -37,7 +37,7 @@ struct command {
        const char *error_string;
        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;