summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c')
-rw-r--r--src/c/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/driver.c b/src/c/driver.c
index be5d7b6c..3c750d67 100644
--- a/src/c/driver.c
+++ b/src/c/driver.c
@@ -137,7 +137,7 @@ static void *worker(void *data) {
failure_kind fk;
char *cmd, *path, *headers, path_copy[uw_bufsize+1], *inputs;
- *s = 0;
+ s[2] = 0;
if (!(s = strstr(buf, "\r\n"))) {
fprintf(stderr, "No newline in buf\n");