summaryrefslogtreecommitdiff
path: root/lib/socks.h
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.h
parent523767660c05cf359091694fcaccb763ebb7b2d7 (diff)
downloadcurl-8cf0814a143d99de813fbd1653b785252b4c58a6.tar.gz
Fixed some minor type mismatches and missing consts mainly found by splint.
Diffstat (limited to 'lib/socks.h')
-rw-r--r--lib/socks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.h b/lib/socks.h
index dfe5cb4f1..8da142fbd 100644
--- a/lib/socks.h
+++ b/lib/socks.h
@@ -28,7 +28,7 @@
* final destination server.
*/
CURLcode Curl_SOCKS4(const char *proxy_name,
- char *hostname,
+ const char *hostname,
int remote_port,
int sockindex,
struct connectdata *conn);
@@ -39,7 +39,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);