Don't define this any longer, we now use the port the daemon is listening
1998-11-11 Martin Baulig <martin@home-of-linux.org> * include/glibtop/gnuserv.h (MCOOKIE_SCREEN): Don't define this any longer, we now use the port the daemon is listening on instead of a fixed screen.
This commit is contained in:
committed by
Martin Baulig
parent
d59234afc2
commit
a637c8b406
@@ -274,11 +274,13 @@ connect_to_internet_server (const char *serverhost, u_short port)
|
||||
|
||||
/* send credentials using MIT-MAGIC-COOKIE-1 protocol */
|
||||
|
||||
sprintf (buf, "%d", port);
|
||||
|
||||
server_xauth =
|
||||
XauGetAuthByAddr (FamilyInternet,
|
||||
sizeof (peeraddr_in.sin_addr.s_addr),
|
||||
(char *) &peeraddr_in.sin_addr.s_addr,
|
||||
strlen (MCOOKIE_SCREEN), MCOOKIE_SCREEN,
|
||||
strlen (buf), buf,
|
||||
strlen (MCOOKIE_X_NAME), MCOOKIE_X_NAME);
|
||||
|
||||
if (server_xauth && server_xauth->data) {
|
||||
|
Reference in New Issue
Block a user