aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-26 05:53:26 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-26 05:53:26 +0000
commit523767660c05cf359091694fcaccb763ebb7b2d7 (patch)
treee16fa7454fdf7ea8e34c8d14fdc2fefdf019c99d /lib/http.h
parent327c0d6b1ccbaa73147ffd3f250c7f95e6f4d70d (diff)
Fixed some minor mismatched types 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 0f4b58f72..cd75f0802 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -24,14 +24,14 @@
* $Id$
***************************************************************************/
#ifndef CURL_DISABLE_HTTP
-bool Curl_compareheader(char *headerline, /* line to check */
+bool Curl_compareheader(const char *headerline, /* line to check */
const char *header, /* header keyword _with_ colon */
const char *content); /* content string to find */
/* ftp can use this as well */
CURLcode Curl_proxyCONNECT(struct connectdata *conn,
int tunnelsocket,
- char *hostname, int remote_port);
+ 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);