From 1a785626af3ce582d99be1e8649f857ca8d95c55 Mon Sep 17 00:00:00 2001 From: Upasana Date: Sun, 29 Jun 2014 17:30:28 +0530 Subject: [PATCH] Fixed some terrible indentations --- src/rrd_graph.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 5c322d6b..898e78f9 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -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); -- 2.47.2