summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9541369)
raw | patch | inline | side by side (parent: 9541369)
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) |
program/src/rrd_client.c | patch | blob | history |
index 5481ba3b2622355e728d4f2337ddb2b1648fb380..3347b82577339a9bc307fc7d149f485a16fdf0af 100644 (file)
--- a/program/src/rrd_client.c
+++ b/program/src/rrd_client.c
response_free (res);
if (head == NULL)
+#ifdef EPROTO
return (EPROTO);
+#else
+ return (EINVAL);
+#endif
*ret_stats = head;
return (0);