fix: state change to wrong state
This commit is contained in:
2
config.c
2
config.c
@@ -200,7 +200,7 @@ int parseConfig(char *buffer,struct configEntry **entry,int configSizeCount,int
|
||||
else {
|
||||
return ERROR_STR;
|
||||
}
|
||||
state = ST_INIT;
|
||||
state = ST_FOUND_SECTION;
|
||||
}
|
||||
else {
|
||||
state = ST_SKIP_READ;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[PRINTER]
|
||||
ip=192.168.209.173
|
||||
[dööner]
|
||||
[oasdf]
|
||||
df=123
|
||||
[anothersection]
|
||||
a=192
|
||||
|
||||
Reference in New Issue
Block a user