summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b83dcc)
raw | patch | inline | side by side (parent: 4b83dcc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000) |
program/src/rrd_update.c | patch | blob | history |
index 563d7ac81fbf7fe177801869f3969b6e97284f65..dbf74df6629611472e5c90af4f530ce36583f338 100644 (file)
--- a/program/src/rrd_update.c
+++ b/program/src/rrd_update.c
{ /* try to connect to rrdcached */
int status = rrdc_connect(opt_daemon);
- if (status != 0) return status;
+ if (status != 0) {
+ rc = status;
+ goto out;
+ }
}
if ((tmplt != NULL) && rrdc_is_connected(opt_daemon))