Don't return 0 in place of NULL

This commit is contained in:
TingPing
2014-12-31 11:31:17 -05:00
parent 112632bb4e
commit 2a28289314
9 changed files with 25 additions and 25 deletions

View File

@ -207,10 +207,10 @@ cfg_get_str (char *cfg, const char *var, char *dest, int dest_len)
while (*cfg != 0 && *cfg != '\n')
cfg++;
if (*cfg == 0)
return 0;
return NULL;
cfg++;
if (*cfg == 0)
return 0;
return NULL;
}
}