summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf65627)
raw | patch | inline | side by side (parent: bf65627)
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 e7c227b8564338c1d74ab2f29c8bd033d459944d..608eb8810113180b7cc409c711a498b8cb47189e 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);