diff options
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-x | vchat-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vchat-client.c b/vchat-client.c index c094376..d1afaa2 100755 --- a/vchat-client.c +++ b/vchat-client.c | |||
@@ -397,8 +397,8 @@ void eventloop(void) { | |||
397 | userinput(); | 397 | userinput(); |
398 | 398 | ||
399 | /* something to read from server? */ | 399 | /* something to read from server? */ |
400 | if (poll_result & 2) | 400 | if ((poll_result & 2) && vc_receive()) |
401 | vc_receive(); | 401 | status = 0; |
402 | break; | 402 | break; |
403 | } | 403 | } |
404 | } | 404 | } |