[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:15:47
Message-ID: 20040830081547.A5FA1903E () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

the daemon already did a DNS lookup, so spare this for the client and return
the IP right away 


  M +1 -1      comm.cpp   1.108


--- kdenonbeta/icecream/icecream/services/comm.cpp  #1.107:1.108
@@ -576,5 +576,5 @@ Service::Service (const string &hostname
   addr = (struct sockaddr *)malloc (len);
   memcpy (addr, &remote_addr, len);
-  name = hostname;
+  name = inet_ntoa (remote_addr.sin_addr);
   port = p;
   last_talk = time( 0 );


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

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