summaryrefslogtreecommitdiffstats
path: root/streaming/replication.h
diff options
context:
space:
mode:
Diffstat (limited to 'streaming/replication.h')
-rw-r--r--streaming/replication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/replication.h b/streaming/replication.h
index f5b64706c..507b7c32f 100644
--- a/streaming/replication.h
+++ b/streaming/replication.h
@@ -17,7 +17,7 @@ struct replication_query_statistics replication_get_query_statistics(void);
bool replicate_chart_response(RRDHOST *rh, RRDSET *rs, bool start_streaming, time_t after, time_t before);
-typedef int (*send_command)(const char *txt, void *data);
+typedef ssize_t (*send_command)(const char *txt, void *data);
bool replicate_chart_request(send_command callback, void *callback_data,
RRDHOST *rh, RRDSET *rs,