Reviewed the code, fixed a small bug with option name detection

This commit is contained in:
Gabriele Bartolini
2010-12-16 22:14:18 +01:00
parent c687d0d670
commit 763a1e8b3d

View File

@@ -87,7 +87,7 @@ parse_line(char *buff, char *name, char *value)
* Now the value * Now the value
*/ */
j = 0; j = 0;
for ( ++i ; i < MAXLEN; i++) for ( ++i ; i < MAXLEN; ++i)
if (buff[i] == '\'') if (buff[i] == '\'')
continue; continue;
else if (buff[i] != '\n') else if (buff[i] != '\n')