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

List:       kde-commits
Subject:    kdenonbeta/icecream/icecream/daemon
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-09-01 9:57:15
Message-ID: 20040901095715.49D4C608C () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

do not sleep just because we're overloaded


  M +1 -2      main.cpp   1.104


--- kdenonbeta/icecream/icecream/daemon/main.cpp  #1.103:1.104
@@ -746,7 +746,6 @@ int main( int argc, char ** argv )
                         Service *client = new Service ((struct sockaddr*) &cli_addr, cli_len);
                         MsgChannel *c = client->createChannel( acc_fd );
-                        if ( !c->protocol ) { // protocol mismatch
+                        if ( !c || !c->protocol ) { // protocol mismatch
                             delete client;
-                            sleep( 1 );
                             continue;
                         }


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

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