[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/icecream/icecream/services
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-11-17 10:04:34
Message-ID: 20041117100434.343BA16DD8 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

don't loop forever on clients that cancel their connection before doing
anything


  M +1 -1      comm.cpp   1.117


--- kdenonbeta/icecream/icecream/services/comm.cpp  #1.116:1.117
@@ -706,5 +706,5 @@ MsgChannel::wait_for_protocol ()
       if (select (fd + 1, &set, NULL, NULL, &tv) <= 0)
         return false;
-      if (!read_a_bit ())
+      if (!read_a_bit () || eof )
         return false;
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic