🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25561

bug in xhost + fix.

#25561
From: lmjm
Date: Sat, 09 May 1987 22:32
32 lines
1376 bytes
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
Technical Details
Message-ID: <8705092332.a022627@ivax.doc.ic.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!doc.ic.ac.UK!lmjm

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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