aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f7c1a31a8..0b050c9c5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -690,7 +690,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
/* we already have a string, we append this one
with a separating &-letter */
char *oldpost=config->postfields;
- config->postfields=maprintf("%s&%s", oldpost, postdata);
+ config->postfields=aprintf("%s&%s", oldpost, postdata);
free(oldpost);
free(postdata);
}