summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a113a7)
raw | patch | inline | side by side (parent: 9a113a7)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 12 Aug 2012 20:49:17 +0000 (20:49 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 12 Aug 2012 20:49:17 +0000 (20:49 +0000) |
src/rrd_client.c | patch | blob | history |
diff --git a/src/rrd_client.c b/src/rrd_client.c
index 5481ba3b2622355e728d4f2337ddb2b1648fb380..3347b82577339a9bc307fc7d149f485a16fdf0af 100644 (file)
--- a/src/rrd_client.c
+++ b/src/rrd_client.c
response_free (res);
if (head == NULL)
+#ifdef EPROTO
return (EPROTO);
+#else
+ return (EINVAL);
+#endif
*ret_stats = head;
return (0);