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:
Daniel Stenberg
2002-09-25 07:08:41 +00:00
parent b03f4919fb
commit c0460660d5
3 changed files with 71 additions and 0 deletions

View File

@@ -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");
}