[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-30 8:03:57
Message-ID: 20040830080357.D2CEB9265 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

before I forget


  M +2 -1      comm.cpp   1.107


--- kdenonbeta/icecream/icecream/services/comm.cpp  #1.106:1.107
@@ -490,6 +490,7 @@ Service::Service (const string &hostname
   remote_addr.sin_port = htons (p);
   memcpy (&remote_addr.sin_addr.s_addr, host->h_addr_list[0], host->h_length);
-  int status = connect (remote_fd, (struct sockaddr *) &remote_addr, sizeof (remote_addr) );
 
+  // code majorly derived from lynx's http connect (GPL)
+  int status = connect (remote_fd, (struct sockaddr *) &remote_addr, sizeof (remote_addr) );
   if ( ( status < 0 ) && ( errno == EINPROGRESS || errno == EAGAIN ) )
     {


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

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