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 {
|
else {
|
||||||
return ERROR_STR;
|
return ERROR_STR;
|
||||||
}
|
}
|
||||||
state = ST_INIT;
|
state = ST_FOUND_SECTION;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
state = ST_SKIP_READ;
|
state = ST_SKIP_READ;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[PRINTER]
|
[PRINTER]
|
||||||
ip=192.168.209.173
|
ip=192.168.209.173
|
||||||
[dööner]
|
[dööner]
|
||||||
|
[oasdf]
|
||||||
df=123
|
df=123
|
||||||
[anothersection]
|
[anothersection]
|
||||||
a=192
|
a=192
|
||||||
|
|||||||
Reference in New Issue
Block a user