aboutsummaryrefslogtreecommitdiff
path: root/src/writeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writeout.c')
-rw-r--r--src/writeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/writeout.c b/src/writeout.c
index 7f2fa907a..2c1b3aa24 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -49,7 +49,7 @@ typedef enum {
} replaceid;
struct variable {
- char *name;
+ const char *name;
replaceid id;
};
@@ -67,7 +67,7 @@ static struct variable replacements[]={
{"size_upload", VAR_SIZE_UPLOAD},
{"speed_download", VAR_SPEED_DOWNLOAD},
{"speed_upload", VAR_SPEED_UPLOAD},
- {NULL}
+ {NULL, 0}
};
void ourWriteOut(CURL *curl, char *writeinfo)