Wez Furlong's curl_version_info() function added, still needs some
adjustments and possibly some improvments to feature all those things we could possibly want from this.
This commit is contained in:
@@ -1832,6 +1832,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
||||
* is based on the first letters of the server name.
|
||||
*/
|
||||
|
||||
/* Note: if you add a new protocol, please update the list in
|
||||
* lib/version.c too! */
|
||||
|
||||
if(strnequal(conn->gname, "FTP", 3)) {
|
||||
strcpy(conn->protostr, "ftp");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user