Code

Updated to upstream version 1.4.8.
[pkg-rrdtool.git] / src / rrd_client.c
index e7c227b8564338c1d74ab2f29c8bd033d459944d..608eb8810113180b7cc409c711a498b8cb47189e 100644 (file)
@@ -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);