summaryrefslogtreecommitdiff
path: root/docs/examples/url2file.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/url2file.c')
-rw-r--r--docs/examples/url2file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/url2file.c b/docs/examples/url2file.c
index 52de7a852..30a2ab0c0 100644
--- a/docs/examples/url2file.c
+++ b/docs/examples/url2file.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
/* open the file */
pagefile = fopen(pagefilename, "wb");
- if (pagefile) {
+ if(pagefile) {
/* write the page body to this file handle */
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, pagefile);