Oops, fixed error in util.c

This commit is contained in:
RichardHitt 2013-01-09 14:53:19 -08:00
parent 6beef589e3
commit 672dbf75d6

View File

@ -1319,7 +1319,7 @@ int my_poptParseArgvString(const char * s, int * argcPtr, char *** argvPtr) {
if (*argv[argc]) { if (*argv[argc]) {
buf++, argc++; buf++, argc++;
if (argc == argvAlloced) { if (argc == argvAlloced) {
char *temp[]; char **temp;
argvAlloced += POPT_ARGV_ARRAY_GROW_DELTA; argvAlloced += POPT_ARGV_ARRAY_GROW_DELTA;
temp = realloc(argv, sizeof(*argv) * argvAlloced); temp = realloc(argv, sizeof(*argv) * argvAlloced);
if (temp) if (temp)