From: Daniel Stenberg Date: Thu, 13 Mar 2008 12:36:22 +0000 (+0000) Subject: fix code that is normally #ifdef'ed out X-Git-Tag: upstream/7.37.1~7984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3c0afa5b8f1460020f3718e2b050d4940240a58;p=platform%2Fupstream%2Fcurl.git fix code that is normally #ifdef'ed out --- diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c index 531b681..1a04480 100644 --- a/docs/examples/post-callback.c +++ b/docs/examples/post-callback.c @@ -75,7 +75,7 @@ int main(void) */ #ifdef USE_CHUNKED { - curl_slist *chunk = NULL; + struct curl_slist *chunk = NULL; chunk = curl_slist_append(chunk, "Transfer-Encoding: chunked"); res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); @@ -98,7 +98,7 @@ int main(void) /* A less good option would be to enforce HTTP 1.0, but that might also have other implications. */ { - curl_slist *chunk = NULL; + struct curl_slist *chunk = NULL; chunk = curl_slist_append(chunk, "Expect:"); res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);