From: oetiker Date: Mon, 14 Jan 2008 16:52:49 +0000 (+0000) Subject: fixed indenting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b5c9c1c93d5cd445e7173c15e7810ab8a4c040a7;p=rrdtool.git fixed indenting git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1271 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 844f9ac..5e66095 100644 --- a/src/rrd_cgi.c +++ b/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/src/rrd_create.c b/src/rrd_create.c index f948f3a..35a564b 100644 --- a/src/rrd_create.c +++ b/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);