From 2780985b47f512232c1bd32cf51a71f0afd5b3b5 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 14 Jan 2008 16:52:49 +0000 Subject: [PATCH] fixed indenting git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1271 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_cgi.c | 4 ++-- program/src/rrd_create.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index 844f9ac6..5e66095c 100644 --- a/program/src/rrd_cgi.c +++ b/program/src/rrd_cgi.c @@ -1430,8 +1430,8 @@ s_var **rrdcgiReadVariables( /* try to find out if there's already such a variable */ for (k = 0; k < i && (strncmp(result[k]->name, cp, esp - cp) - || !(strlen(result[k]->name) == (size_t)(esp - cp))); - k++); + || !(strlen(result[k]->name) == + (size_t) (esp - cp))); k++); if (k == i) { /* No such variable yet */ if ((result[i] = (s_var *) malloc(sizeof(s_var))) == NULL) diff --git a/program/src/rrd_create.c b/program/src/rrd_create.c index f948f3aa..35a564bf 100644 --- a/program/src/rrd_create.c +++ b/program/src/rrd_create.c @@ -662,8 +662,7 @@ int rrd_create_fn( rrd_file_t *rrd_file_dn; rrd_t rrd_dn; - if ((rrd_file = - open(file_name, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0) { + if ((rrd_file = open(file_name, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0) { rrd_set_error("creating '%s': %s", file_name, rrd_strerror(errno)); rrd_free(rrd); return (-1); -- 2.30.2