loudmouth/lm-old-socket.c
changeset 658 352d622c2401
parent 624 a94013a4555d
child 664 f57b1b61e1fe
--- a/loudmouth/lm-old-socket.c	Tue Feb 03 18:17:09 2015 +0100
+++ b/loudmouth/lm-old-socket.c	Sat Feb 07 22:15:08 2015 +0100
@@ -212,7 +212,7 @@
                                           NULL);
     }
 
-    if (status != G_IO_STATUS_NORMAL || *bytes_read < 0) {
+    if (status != G_IO_STATUS_NORMAL) {
         switch (status) {
         case G_IO_STATUS_EOF:
             *reason = LM_DISCONNECT_REASON_HUP;