From 10ee4cff7e498a7c31a2cbfc1916f7d795c7aca2 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 24 May 2022 22:43:15 +0200 Subject: Remove external status variable from connection code. Use return code to signal dead connection --- vchat-connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vchat-connection.h') diff --git a/vchat-connection.h b/vchat-connection.h index 9b3ccaa..2889c82 100644 --- a/vchat-connection.h +++ b/vchat-connection.h @@ -4,6 +4,6 @@ int vc_connect(const char *host, const char *port); void vc_sendmessage(const char *message); -void vc_receive(); +int vc_receive(); int vc_poll(); void vc_disconnect(); -- cgit v1.2.3