aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f0213ee96..95cb5f92e 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;