aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/postit2.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/postit2.c')
-rw-r--r--docs/examples/postit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c
index b4853f3ac..67e685f1e 100644
--- a/docs/examples/postit2.c
+++ b/docs/examples/postit2.c
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
if(curl) {
/* what URL that receives this POST */
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi");
- if ( (argc == 2) && (!strcmp(argv[1], "noexpectheader")) )
+ if((argc == 2) && (!strcmp(argv[1], "noexpectheader")))
/* only disable 100-continue header if explicitly requested */
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);