/* Note: if you add a new protocol, please update the list in
* lib/version.c too! */
- if(checkprefix("FTP", conn->gname)) {
- strcpy(conn->protostr, "ftp");
- }
- else if(checkprefix("GOPHER", conn->gname))
+ if(checkprefix("GOPHER", conn->gname))
strcpy(conn->protostr, "gopher");
#ifdef USE_SSLEAY
else if(checkprefix("HTTPS", conn->gname))
else if(checkprefix("FTPS", conn->gname))
strcpy(conn->protostr, "ftps");
#endif /* USE_SSLEAY */
+ else if(checkprefix("FTP", conn->gname))
+ strcpy(conn->protostr, "ftp");
else if(checkprefix("TELNET", conn->gname))
strcpy(conn->protostr, "telnet");
else if (checkprefix("DICT", conn->gname))