Skip to content

Commit

Permalink
Merge pull request #3439 from leandro-lucarella-sociomantic/fix-cond-…
Browse files Browse the repository at this point in the history
…define

Fix ini file parsing for '?='
  • Loading branch information
MartinNowak committed Apr 8, 2014
2 parents db2291f + 16b443d commit 202c83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inifile.c
Expand Up @@ -291,7 +291,7 @@ const char *inifile(const char *argv0x, const char *inifilex, const char *envsec
else if (p[0] == '?' && p[1] == '=')
{
*p = '\0';
if (getenv(p))
if (getenv(pn))
{
pn = NULL;
break;
Expand Down

0 comments on commit 202c83b

Please sign in to comment.