aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-02-01 23:28:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-02-01 23:28:22 +0000
commit8cb695a9633e13d4378d9dc8f2af51ffb97a086f (patch)
tree0eafe685dcf66449c36c765e557d75834ce0821c /src/main.c
parent54cbd7e15445f3fa5881255c0d8282a61e4617e6 (diff)
fixed --limit-rate
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 6651bcf9a..44471be40 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1513,7 +1513,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
if(!*unit)
- unit="b";
+ unit=(char *)"b";
else if(strlen(unit) > 1)
unit=(char *)"w"; /* unsupported */