mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 11:12:19 -05:00
Oops, fixed error in util.c
This commit is contained in:
parent
6beef589e3
commit
672dbf75d6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user