projects
/
rrdtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f56f88
)
src/rrd_update.c: Set `rc' correctly when succeeding.
author
Florian Forster
<octo@leeloo.home.verplant.org>
Thu, 3 Jul 2008 15:47:25 +0000
(17:47 +0200)
committer
Florian Forster
<octo@leeloo.home.verplant.org>
Thu, 3 Jul 2008 15:47:25 +0000
(17:47 +0200)
src/rrd_update.c
patch
|
blob
|
history
diff --git
a/src/rrd_update.c
b/src/rrd_update.c
index
5536c3c
..
ffbcebb
100644
(file)
--- a/
src/rrd_update.c
+++ b/
src/rrd_update.c
@@
-470,6
+470,10
@@
int rrd_update(
? "Internal error"
: rrd_strerror (status));
}
+ else
+ {
+ rc = 0;
+ }
rrdc_disconnect ();
goto out;