X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_client.c;fp=src%2Frrd_client.c;h=3347b82577339a9bc307fc7d149f485a16fdf0af;hb=2a5dc89618904fdcbc2bd4db19ab3ce1be8fcd7c;hp=5481ba3b2622355e728d4f2337ddb2b1648fb380;hpb=9a113a70943d55b7c0998e4b8842dd180ff91805;p=rrdtool.git diff --git a/src/rrd_client.c b/src/rrd_client.c index 5481ba3..3347b82 100644 --- a/src/rrd_client.c +++ b/src/rrd_client.c @@ -1495,7 +1495,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);