diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-22 14:20:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-22 14:20:56 +0000 |
commit | 0032ce762eed505905d7e5ef766134ffa6d69b5c (patch) | |
tree | 6708a4c0c540ae8562c8176f930510c518737d68 /lib/http.c | |
parent | bdb338b3c748fa1829b85cbe708764237a9e6ccc (diff) | |
download | curl-0032ce762eed505905d7e5ef766134ffa6d69b5c.tar.gz |
fix compilation when http is disabled
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/http.c b/lib/http.c index fc533bfe3..53e991b20 100644 --- a/lib/http.c +++ b/lib/http.c @@ -3065,10 +3065,6 @@ checkprotoprefix(struct SessionHandle *data, struct connectdata *conn, return checkhttpprefix(data, s); } -#endif - - - /* * header_append() copies a chunk of data to the end of the already received * header. We make sure that the full string fit in the allocated header @@ -3805,3 +3801,4 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data, return CURLE_OK; } +#endif /* CURL_DISABLE_HTTP */ |