summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9effaec)
raw | patch | inline | side by side (parent: 9effaec)
author | Florian Forster <octo@collectd.org> | |
Mon, 25 Feb 2013 20:08:15 +0000 (21:08 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 25 Feb 2013 20:08:15 +0000 (21:08 +0100) |
... it is being created asynchronously.
src/rrdcached.c | patch | blob | history | |
src/rrdtool.c | patch | blob | history |
diff --git a/src/rrdcached.c b/src/rrdcached.c
index a37b4b507ff24fe4904cac5514979eac0760b8de..0a9803599520425bd3c640abf5ec1141939379e2 100644 (file)
--- a/src/rrdcached.c
+++ b/src/rrdcached.c
filename);
return (-1);
}
+ else if (rrdcreate_config.async)
+ return (0);
}
}
diff --git a/src/rrdtool.c b/src/rrdtool.c
index a673879b10e986ccbfebbecfb07f0dc8513f3dcd..e7c48c0e7ee7baf1b2fbed4a7dc668e50acfcb70 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
ds, vl, &rrdcreate_config);
if (status != 0)
return (-1);
+ else if (rrdcreate_config.async)
+ return (0);
}
else
{