1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Replace ";;" with ";".

This commit is contained in:
Gisle Vanem 2006-10-15 20:28:03 +00:00
parent 97eb62aff8
commit 2260c8aa11
2 changed files with 9 additions and 9 deletions

View File

@ -245,28 +245,28 @@ curl_easy_strerror(CURLcode error)
return "Send failed since rewinding of the data stream failed"; return "Send failed since rewinding of the data stream failed";
case CURLE_LOGIN_DENIED: case CURLE_LOGIN_DENIED:
return "FTP: login denied";; return "FTP: login denied";
case CURLE_TFTP_NOTFOUND: case CURLE_TFTP_NOTFOUND:
return "TFTP: File Not Found";; return "TFTP: File Not Found";
case CURLE_TFTP_PERM: case CURLE_TFTP_PERM:
return "TFTP: Access Violation";; return "TFTP: Access Violation";
case CURLE_TFTP_DISKFULL: case CURLE_TFTP_DISKFULL:
return "TFTP: Disk full or allocation exceeded";; return "TFTP: Disk full or allocation exceeded";
case CURLE_TFTP_ILLEGAL: case CURLE_TFTP_ILLEGAL:
return "TFTP: Illegal operation";; return "TFTP: Illegal operation";
case CURLE_TFTP_UNKNOWNID: case CURLE_TFTP_UNKNOWNID:
return "TFTP: Unknown transfer ID";; return "TFTP: Unknown transfer ID";
case CURLE_TFTP_EXISTS: case CURLE_TFTP_EXISTS:
return "TFTP: File already exists";; return "TFTP: File already exists";
case CURLE_TFTP_NOSUCHUSER: case CURLE_TFTP_NOSUCHUSER:
return "TFTP: No such user";; return "TFTP: No such user";
case CURLE_CONV_FAILED: case CURLE_CONV_FAILED:
return "conversion failed"; return "conversion failed";

View File

@ -1083,7 +1083,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
/* /*
* The already set string is allocated, free that first * The already set string is allocated, free that first
*/ */
data->change.proxy_alloc=FALSE;; data->change.proxy_alloc = FALSE;
free(data->change.proxy); free(data->change.proxy);
} }
data->set.set_proxy = va_arg(param, char *); data->set.set_proxy = va_arg(param, char *);