diff options
Diffstat (limited to 'docs/examples/ftpget.c')
-rw-r--r-- | docs/examples/ftpget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/ftpget.c b/docs/examples/ftpget.c index 0274b7f69..4e3fc8fc3 100644 --- a/docs/examples/ftpget.c +++ b/docs/examples/ftpget.c @@ -22,7 +22,7 @@ */ struct FtpFile { - char *filename; + const char *filename; FILE *stream; }; @@ -65,7 +65,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); /* Switch on full protocol/debug output */ - curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE); + curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); res = curl_easy_perform(curl); |