[comp.windows.x] bug in xhost + fix.

lmjm@doc.ic.ac.UK (05/10/87)

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