mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske
This commit is contained in:
parent
3dc4765ccc
commit
4e935520e6
@ -91,7 +91,7 @@ NS_strtok(const char *delims, char **str)
|
||||
} while (*i);
|
||||
|
||||
*str = NULL;
|
||||
return NULL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
PRUint32
|
||||
|
@ -197,7 +197,7 @@ nsINIParser::InitFromFILE(FILE *fd)
|
||||
|
||||
char *key = token;
|
||||
char *e = NS_strtok(kEquals, &token);
|
||||
if (!e)
|
||||
if (!e || !token)
|
||||
continue;
|
||||
|
||||
INIValue *v;
|
||||
|
Loading…
Reference in New Issue
Block a user