X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Frrd_client.c;h=608eb8810113180b7cc409c711a498b8cb47189e;hb=HEAD;hp=e7c227b8564338c1d74ab2f29c8bd033d459944d;hpb=b59bb99492706d1548d6093fb8730bd3666b529e;p=pkg-rrdtool.git diff --git a/src/rrd_client.c b/src/rrd_client.c index e7c227b..608eb88 100644 --- a/src/rrd_client.c +++ b/src/rrd_client.c @@ -831,7 +831,11 @@ int rrdc_stats_get (rrdc_stats_t **ret_stats) /* {{{ */ response_free (res); if (head == NULL) +#ifdef EPROTO return (EPROTO); +#else + return (EINVAL); +#endif *ret_stats = head; return (0);