mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
Reviewed the code, fixed a small bug with option name detection
This commit is contained in:
2
config.c
2
config.c
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user