]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Replace ";;" with ";".
authorGisle Vanem <gvanem@broadpark.no>
Sun, 15 Oct 2006 20:28:03 +0000 (20:28 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sun, 15 Oct 2006 20:28:03 +0000 (20:28 +0000)
lib/strerror.c
lib/url.c

index 5b01a2297aa03c5545db17d10fff1096f8a1c377..5a1a83dd1b6c5e5caba09e25fd7e13945c7e6359 100644 (file)
@@ -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";
index dee4b40b9f3128f1cc159b2a2e78b5978f2f444d..1b6f0bb7c8bf31d44e8d94dd9d17f391c91136ec 100644 (file)
--- 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 *);