/* 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)
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);