remove leftover proto that isn't used, I made it a macro instead

This commit is contained in:
Daniel Stenberg 2008-06-20 10:45:26 +00:00
parent 422fd933f5
commit 2e1a9da5e2

View File

@ -37,8 +37,6 @@ ssize_t Curl_sftp_send(struct connectdata *conn, int sockindex,
const void *mem, size_t len);
ssize_t Curl_sftp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);
bool Curl_ssh_enabled(struct connectdata *conn,
int prot);
#define Curl_ssh_enabled(conn,prot) (conn->protocol & prot)