summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/ab.c')
-rw-r--r--support/ab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/ab.c b/support/ab.c
index a6c03de672..1ac3835510 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -1621,7 +1621,7 @@ static void test(void)
return;
}
strcpy(buff, request);
- strcpy(buff + reqlen, postdata);
+ memcpy(buff + reqlen, postdata, postlen);
request = buff;
}