diff options
-rw-r--r-- | src/message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index 54d9071..77de64c 100644 --- a/src/message.c +++ b/src/message.c @@ -91,7 +91,8 @@ cmumble_recv_msg(struct cmumble *cm) if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) return 0; - if (g_error_matches(error, G_TLS_ERROR, G_TLS_ERROR_EOF)) { + if (g_error_matches(error, G_TLS_ERROR, G_TLS_ERROR_EOF) || + g_error_matches(error, G_TLS_ERROR, G_TLS_ERROR_MISC)) { g_print("%s\n", error->message); g_main_loop_quit(cm->loop); return 0; |