aboutsummaryrefslogtreecommitdiff
path: root/lib/socks.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-27 06:31:28 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-27 06:31:28 +0000
commit8cf0814a143d99de813fbd1653b785252b4c58a6 (patch)
treeea8aac5e7a720e0a6147c69e7b58cd460c82c14a /lib/socks.c
parent523767660c05cf359091694fcaccb763ebb7b2d7 (diff)
Fixed some minor type mismatches and missing consts mainly found by splint.
Diffstat (limited to 'lib/socks.c')
-rw-r--r--lib/socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c
index e1ad86cc0..9dec1bd22 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -122,7 +122,7 @@ static int blockread_all(struct connectdata *conn, /* connection data */
* Nonsupport "Identification Protocol (RFC1413)"
*/
CURLcode Curl_SOCKS4(const char *proxy_name,
- char *hostname,
+ const char *hostname,
int remote_port,
int sockindex,
struct connectdata *conn)
@@ -329,7 +329,7 @@ CURLcode Curl_SOCKS4(const char *proxy_name,
*/
CURLcode Curl_SOCKS5(const char *proxy_name,
const char *proxy_password,
- char *hostname,
+ const char *hostname,
int remote_port,
int sockindex,
struct connectdata *conn)