summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-24 22:47:00 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-24 22:47:00 +0200
commitacc107e1a89cc599d9c00b3e899e39af3159e950 (patch)
tree5d8490176fecfdfd4ecc3a74e5ec9ab51164f18e
parentc540a6a96defc6120b28c78357eb289b4d40ec47 (diff)
Use proper prototype for function
-rw-r--r--vchat-connection.c2
1 files changed, 1 insertions, 1 deletions
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) {
197 197
198 198
199/* get data from servers connection */ 199/* get data from servers connection */
200void vc_receive(void) { 200int vc_receive(void) {
201/* offset in buffer (for linebreaks at packet borders) */ 201/* offset in buffer (for linebreaks at packet borders) */
202 static char buf[RECEIVEBUF_SIZE]; 202 static char buf[RECEIVEBUF_SIZE];
203 static size_t buf_fill; 203 static size_t buf_fill;