1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/licq-devel/files/patch-ad

14 lines
400 B
Plaintext
Raw Normal View History

--- src/socket.cpp Mon Jul 13 20:53:45 1998
+++ src/socket.cpp Wed Aug 5 18:02:18 1998
@@ -69,8 +69,8 @@
// find local connection
hostent *localHost;
char hn[128];
- gethostname(hn, 128);
- localHost = gethostbyname(hn);
+ //gethostname(hn, 128);
+ localHost = gethostbyname("127.0.0.1");
localIPVal = *((unsigned long *)localHost->h_addr);
// set up remote connection