Run all changed files 68 8.c/1*.h through format.sh web util
[collectd.git] / src / collectdctl.c
index df83b50..1ced583 100644 (file)
@@ -293,9 +293,8 @@ static int flush(lcc_connection_t *c, int argc, char **argv) {
                 value);
         BAIL_OUT(-1);
       } else if ((endptr != NULL) && (*endptr != '\0')) {
-        fprintf(stderr,
-                "WARNING: Ignoring trailing garbage after timeout: "
-                "%s.\n",
+        fprintf(stderr, "WARNING: Ignoring trailing garbage after timeout: "
+                        "%s.\n",
                 endptr);
       }
     } else if (strcasecmp(key, "plugin") == 0) {
@@ -342,9 +341,8 @@ static int flush(lcc_connection_t *c, int argc, char **argv) {
           char id[1024];
 
           lcc_identifier_to_string(c, id, sizeof(id), identifiers + j);
-          fprintf(stderr,
-                  "ERROR: Failed to flush plugin `%s', "
-                  "identifier `%s': %s.\n",
+          fprintf(stderr, "ERROR: Failed to flush plugin `%s', "
+                          "identifier `%s': %s.\n",
                   (plugins[i] == NULL) ? "(all)" : plugins[i], id,
                   lcc_strerror(c));
         }
@@ -388,9 +386,8 @@ static int listval(lcc_connection_t *c, int argc, char **argv) {
 
     status = lcc_identifier_to_string(c, id, sizeof(id), ret_ident + i);
     if (status != 0) {
-      fprintf(stderr,
-              "ERROR: listval: Failed to convert returned "
-              "identifier to a string: %s\n",
+      fprintf(stderr, "ERROR: listval: Failed to convert returned "
+                      "identifier to a string: %s\n",
               lcc_strerror(c));
       continue;
     }
@@ -448,9 +445,8 @@ static int putval(lcc_connection_t *c, int argc, char **argv) {
                   value);
           return -1;
         } else if ((endptr != NULL) && (*endptr != '\0')) {
-          fprintf(stderr,
-                  "WARNING: Ignoring trailing garbage after "
-                  "interval: %s.\n",
+          fprintf(stderr, "WARNING: Ignoring trailing garbage after "
+                          "interval: %s.\n",
                   endptr);
         }
       } else {