From acc107e1a89cc599d9c00b3e899e39af3159e950 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 24 May 2022 22:47:00 +0200 Subject: Use proper prototype for function --- vchat-connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vchat-connection.c b/vchat-connection.c index a030bbe..165ed9b 100644 --- a/vchat-connection.c +++ b/vchat-connection.c @@ -197,7 +197,7 @@ void vc_sendmessage(const char *msg) { /* get data from servers connection */ -void vc_receive(void) { +int vc_receive(void) { /* offset in buffer (for linebreaks at packet borders) */ static char buf[RECEIVEBUF_SIZE]; static size_t buf_fill; -- cgit v1.2.3