From e76cb75e542f88a43a431ab3a11fd7e9e7540601 Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 16 Oct 2008 21:30:17 +0000 Subject: [PATCH] In almost all cases where rrdc_flush can fail, it will leave a more descriptive error message anyway.. better not overwrite it. -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1614 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_client.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/program/src/rrd_client.c b/program/src/rrd_client.c index 5583bfeb..5e22a988 100644 --- a/program/src/rrd_client.c +++ b/program/src/rrd_client.c @@ -615,14 +615,7 @@ int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename) /* {{{ * rrdc_connect(opt_daemon); if (rrdc_is_connected(opt_daemon)) - { status = rrdc_flush (filename); - if (status != 0) - { - rrd_set_error ("rrdc_flush (%s) failed with status %i.", - filename, status); - } - } /* if (rrdc_is_connected(..)) */ return status; } /* }}} int rrdc_flush_if_daemon */ -- 2.30.2