aboutsummaryrefslogtreecommitdiff
path: root/lib/http.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/http.h
parent523767660c05cf359091694fcaccb763ebb7b2d7 (diff)
Fixed some minor type mismatches and missing consts mainly found by splint.
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.h b/lib/http.h
index cd75f0802..0b8f8b63e 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -31,7 +31,7 @@ bool Curl_compareheader(const char *headerline, /* line to check */
/* ftp can use this as well */
CURLcode Curl_proxyCONNECT(struct connectdata *conn,
int tunnelsocket,
- char *hostname, unsigned short remote_port);
+ const char *hostname, unsigned short remote_port);
/* protocol-specific functions set up to be called by the main engine */
CURLcode Curl_http(struct connectdata *conn, bool *done);
@@ -50,7 +50,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
/* These functions are in http.c */
void Curl_http_auth_stage(struct SessionHandle *data, int stage);
CURLcode Curl_http_input_auth(struct connectdata *conn,
- int httpcode, char *header);
+ int httpcode, const char *header);
CURLcode Curl_http_auth_act(struct connectdata *conn);
int Curl_http_should_fail(struct connectdata *conn);