*** empty log message ***

svn path=/trunk/boinc/; revision=3670
This commit is contained in:
David Anderson 2004-06-19 00:41:58 +00:00
parent 52c3021bf4
commit e313b8279e
3 changed files with 12 additions and 3 deletions

View File

@ -13982,3 +13982,13 @@ David 2004.06.18
client/
client_state.h
cs_scheduler.C
David 2004.06.18
- Aaargh! I forgot that gethostbyname() is unavoidably used
when contacting servers, so all this ping stuff
is a total waste of time!
Changed things back to the way they were originally.
client/
hostinfo_network.C
net_xfer.C

View File

@ -52,7 +52,6 @@
// get domain name and IP address of this host
//
#ifdef _WIN32
int get_local_network_info(
char* domain_name, int domlen, char* ip_addr, int iplen
) {
@ -71,7 +70,7 @@ int get_local_network_info(
return 0;
}
#else
#if 0
// NEW POLICY: on UNIX, get just the hostname.
// the rest (domain name, IP address) is a can of worms,

View File

@ -104,7 +104,7 @@ int get_socket_error(int fd) {
}
int NET_XFER::get_ip_addr(int &ip_addr) {
return get_ip_addr(hostname,ip_addr);
return get_ip_addr(hostname, ip_addr);
}
int NET_XFER::get_ip_addr(char *hostname, int &ip_addr) {