diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-05-01 09:16:12 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-05-01 09:16:12 +0200 |
commit | 6cba8dacea773ab37ae457e2a2d24d2ead9f68a4 (patch) | |
tree | 8125335a342f09d7ed650f740d669bdd5f5d7ceb /docs/examples | |
parent | c23177d5e90aec2ec42bd20004d0acf0a6412456 (diff) |
examples: fixed too long line and too long string warnings
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/ftpuploadfrommem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/ftpuploadfrommem.c b/docs/examples/ftpuploadfrommem.c index dec7bbbbe..134cda364 100644 --- a/docs/examples/ftpuploadfrommem.c +++ b/docs/examples/ftpuploadfrommem.c @@ -36,8 +36,7 @@ static const char data[]= "Vivamus nec neque ac elit blandit pretium vitae maximus ipsum. " "Quisque sodales magna vel erat auctor, sed pellentesque nisi " "rhoncus. Donec vehicula maximus pretium. Aliquam eu tincidunt " - "lorem. Ut placerat, sem eu pharetra mattis, ante lacus fringilla " - "diam, a consequat quam eros eget erat."; + "lorem."; struct WriteThis { const char *readptr; @@ -88,7 +87,8 @@ int main(void) curl = curl_easy_init(); if(curl) { /* First set the URL, the target file */ - curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/path/to/upload/file"); + curl_easy_setopt(curl, CURLOPT_URL, + "ftp://example.com/path/to/upload/file"); /* User and password for the FTP login */ curl_easy_setopt(curl, CURLOPT_USERPWD, "login:secret"); |