]> granicus.if.org Git - curl/commitdiff
tool: wrap lines longer than 79 columns
authorKamil Dudka <kdudka@redhat.com>
Sat, 28 Feb 2015 09:53:33 +0000 (10:53 +0100)
committerKamil Dudka <kdudka@redhat.com>
Sat, 28 Feb 2015 09:54:59 +0000 (10:54 +0100)
... to avoid a build failure when configured with --enable-debug

src/tool_cb_wrt.c
src/tool_formparse.c

index 918391ad017ba8c48fc3e75104fa7f098de30ea9..17d0409f2e799da1863ace6280c41aa89b64750e 100644 (file)
@@ -119,8 +119,8 @@ size_t tool_write_cb(void *buffer, size_t sz, size_t nmemb, void *userdata)
     /* open file for writing */
     file = fopen(outs->filename, "wb");
     if(!file) {
-      warnf(config->global, "Failed to create the file %s: %s\n", outs->filename,
-            strerror(errno));
+      warnf(config->global, "Failed to create the file %s: %s\n",
+            outs->filename, strerror(errno));
       return failure;
     }
     outs->s_isreg = TRUE;
index 8b3c39d2771d28565bf6fcc03b4cc6309ec3b621..f26f2595c68c082237ecc0797b6902ffdfda4fc9 100644 (file)
@@ -206,7 +206,8 @@ int formparse(struct OperationConfig *config,
             /* verify that this is a fine type specifier */
             if(2 != sscanf(type, "%127[^/]/%127[^;,\n]",
                            type_major, type_minor)) {
-              warnf(config->global, "Illegally formatted content-type field!\n");
+              warnf(config->global,
+                    "Illegally formatted content-type field!\n");
               Curl_safefree(contents);
               FreeMultiInfo(&multi_start, &multi_current);
               return 2; /* illegal content-type syntax! */