]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Fixed some terrible indentations 512/head 513/head
authorUpasana <me@upasana.me>
Sun, 29 Jun 2014 12:00:28 +0000 (17:30 +0530)
committerUpasana <me@upasana.me>
Tue, 1 Jul 2014 19:36:13 +0000 (01:06 +0530)
src/rrd_graph.c

index 5c322d6b96f752d427f2f7b6c646d160679925ac..898e78f9edc2b56510a0619b590ce6d0c0218f8c 100644 (file)
@@ -4703,11 +4703,11 @@ void rrd_graph_options(
             }
             break;
         case 1003:
-                       im->second_axis_legend=strdup(optarg);
-                       if (!im->second_axis_legend) {
+            im->second_axis_legend=strdup(optarg);
+            if (!im->second_axis_legend) {
                 rrd_set_error("cannot allocate memory for second_axis_legend");
                 return;
-                       }
+            }
             break;
         case 1004:
             if (bad_format(optarg)){
@@ -4715,10 +4715,10 @@ void rrd_graph_options(
                 return;
             }
             im->second_axis_format=strdup(optarg);
-                       if (!im->second_axis_format) {
-                               rrd_set_error("cannot allocate memory for second_axis_format");
-                               return;
-                       }
+            if (!im->second_axis_format) {
+                rrd_set_error("cannot allocate memory for second_axis_format");
+                return;
+            }
             break;
         case 1012:
             if (bad_format(optarg)){
@@ -4726,17 +4726,17 @@ void rrd_graph_options(
                 return;
             }
             im->primary_axis_format=strdup(optarg);
-                       if (!im->primary_axis_format) {
-                               rrd_set_error("cannot allocate memory for primary_axis_format");
-                               return;
-                       }
+            if (!im->primary_axis_format) {
+                rrd_set_error("cannot allocate memory for primary_axis_format");
+                return;
+            }
             break;
         case 'v':
-                       im->ylegend=strdup(optarg);
-                       if (!im->ylegend) {
+            im->ylegend=strdup(optarg);
+            if (!im->ylegend) {
                 rrd_set_error("cannot allocate memory for ylegend");
                 return;
-                       }
+            }
             break;
         case 'u':
             im->maxval = rrd_strtod(optarg, 0);