Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!doc.ic.ac.UK!lmjm From: lmjm@doc.ic.ac.UK Newsgroups: comp.windows.x Subject: bug in xhost + fix. Message-ID: <8705092332.a022627@ivax.doc.ic.ac.uk> Date: Sat, 9-May-87 18:32:02 EDT Article-I.D.: ivax.8705092332.a022627 Posted: Sat May 9 18:32:02 1987 Date-Received: Sun, 10-May-87 09:08:47 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 32 Weird! A bug in xhost after all this time. I suppose this is what a get for using a novel architecture machine! A (struct in_addr) is being passed but it expects a (struct in_addr *). *** old/xhost.c Sat May 9 23:22:34 1987 --- xhost.c Sat May 9 23:18:31 1987 *************** *** 181,187 jmp_buf env; char *get_hostname (address) ! struct in_addr *address; { struct hostent *hp = NULL; int nameserver_lost(); --- 181,187 ----- jmp_buf env; char *get_hostname (address) ! struct in_addr address; { struct hostent *hp = NULL; int nameserver_lost(); -- UKUUCP SUPPORT Lee McLoughlin "What you once thought was only a nightmare is now a reality!" Janet: lmjm@uk.ac.ic.doc, lmcl@uk.ac.ukc DARPA: lmjm@doc.ic.ac.uk (or lmjm%uk.ac.ic.doc@cs.ucl.ac.uk) Uucp: lmjm@icdoc.UUCP, ukc!icdoc!lmjm