diff --git a/src/main.c b/src/main.c index f0213ee96ee9ab88decab15f5c1b7560fafb7f5d..95cb5f92e30b37d84dfe5e199ec1185ff23ddbd9 100644 --- a/src/main.c +++ b/src/main.c @@ -767,7 +767,7 @@ static int formparse(char *input, contents = malloc(strlen(input)); contents[0] = '\000'; - if(1 <= sscanf(input, "%255[^=]=%[^\n]", name, contents)) { + if(1 <= sscanf(input, "%255[^=]=%s", name, contents)) { /* the input was using the correct format */ contp = contents;