diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-03-24 17:23:01 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-03-24 17:23:01 +0000 |
commit | 2bd1d7e996e8c781f14af8d3e7d0ffbd4033d5f1 (patch) | |
tree | 46cb48fb167f34a3c4239f0e999db8a525e0479f /lib | |
parent | 3b355421ecb7b1bb8defd2c0ba94db9b35c8b619 (diff) | |
download | curl-2bd1d7e996e8c781f14af8d3e7d0ffbd4033d5f1.tar.gz |
Fixed a couple of compile problems.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh.c | 2 | ||||
-rw-r--r-- | lib/url.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -364,7 +364,7 @@ CURLcode Curl_ssh_connect(struct connectdata *conn, bool *done) */ if ((data->set.ssh_auth_types & CURLSSH_AUTH_PUBLICKEY) && (strstr(authlist, "publickey") != NULL)) { - const char *home; + char *home; const char *passphrase; char rsa_pub[PATH_MAX]; char rsa[PATH_MAX]; @@ -3430,6 +3430,7 @@ else { /*********************************************************************** * file: is a special case in that it doesn't need a network connection ***********************************************************************/ +#ifndef CURL_DISABLE_FILE if (strequal(conn->protostr, "FILE")) { /* anyway, this is supposed to be the connect function so we better at least check that the file is present here! */ @@ -3447,6 +3448,7 @@ else { return result; } +#endif /************************************************************* * If the protocol is using SSL and HTTP proxy is used, we set |