aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/strerror.c16
-rw-r--r--lib/url.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 5b01a2297..5a1a83dd1 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -245,28 +245,28 @@ curl_easy_strerror(CURLcode error)
return "Send failed since rewinding of the data stream failed";
case CURLE_LOGIN_DENIED:
- return "FTP: login denied";;
+ return "FTP: login denied";
case CURLE_TFTP_NOTFOUND:
- return "TFTP: File Not Found";;
+ return "TFTP: File Not Found";
case CURLE_TFTP_PERM:
- return "TFTP: Access Violation";;
+ return "TFTP: Access Violation";
case CURLE_TFTP_DISKFULL:
- return "TFTP: Disk full or allocation exceeded";;
+ return "TFTP: Disk full or allocation exceeded";
case CURLE_TFTP_ILLEGAL:
- return "TFTP: Illegal operation";;
+ return "TFTP: Illegal operation";
case CURLE_TFTP_UNKNOWNID:
- return "TFTP: Unknown transfer ID";;
+ return "TFTP: Unknown transfer ID";
case CURLE_TFTP_EXISTS:
- return "TFTP: File already exists";;
+ return "TFTP: File already exists";
case CURLE_TFTP_NOSUCHUSER:
- return "TFTP: No such user";;
+ return "TFTP: No such user";
case CURLE_CONV_FAILED:
return "conversion failed";
diff --git a/lib/url.c b/lib/url.c
index dee4b40b9..1b6f0bb7c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1083,7 +1083,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
/*
* The already set string is allocated, free that first
*/
- data->change.proxy_alloc=FALSE;;
+ data->change.proxy_alloc = FALSE;
free(data->change.proxy);
}
data->set.set_proxy = va_arg(param, char *);