fixed --limit-rate

This commit is contained in:
Daniel Stenberg
2006-02-01 23:28:22 +00:00
parent 54cbd7e154
commit 8cb695a963
3 changed files with 6 additions and 1 deletions

View File

@@ -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 */