[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-08-29 20:27:43
Message-ID: 20040829202743.B0753900E () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

really remove debug output


  M +1 -4      comm.cpp   1.106


--- kdenonbeta/icecream/icecream/services/comm.cpp  #1.105:1.106
@@ -502,9 +502,8 @@ Service::Service (const string &hostname
         fd_set writefds;
 
-        trace() << "trying to connect\n";
         /*
         **  Protect against an infinite loop.
         */
-        if (tries++ >= 100) {
+        if (tries++ >= 100) { // 10s
           return;
         }
@@ -564,5 +563,4 @@ Service::Service (const string &hostname
       **  so close up the socket.
       */
-      trace() << "failed\n";
       close(remote_fd);
       return;
@@ -574,5 +572,4 @@ Service::Service (const string &hostname
     fcntl(remote_fd, F_SETFL, 0);
   }
-  trace() << "connected " << remote_fd << endl;
   len = sizeof (remote_addr);
   addr = (struct sockaddr *)malloc (len);


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

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