/[gnats]/gnats/gnats/gnatsd.c
ViewVC logotype

Diff of /gnats/gnats/gnatsd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by pdm, Sun Mar 3 20:15:31 2002 UTC revision 1.47 by pdm, Sun Aug 4 10:58:29 2002 UTC
# Line 1  Line 1 
1  /* Remote GNATS server.  /* Remote GNATS server.
2     Copyright (C) 2000, 2001 Milan Zamazal.     Copyright (C) 1994, 95, 96, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    Copyright (C) 1994, 95, 96, 1997, 1999, 2000 Free Software Foundation, Inc.  
3     Contributed by Brendan Kehoe (brendan@cygnus.com).     Contributed by Brendan Kehoe (brendan@cygnus.com).
4     Further hacked by Milan Zamazal (pdm@zamazal.org).     Further hacked by Milan Zamazal (pdm@zamazal.org).
5    
# Line 283  get_name (struct in_addr *host) Line 282  get_name (struct in_addr *host)
282    char **pp;    char **pp;
283  #endif  #endif
284    
285    hp = gethostbyaddr ((char *) host, sizeof (host), AF_INET);    hp = gethostbyaddr ((char *) host, sizeof (*host), AF_INET);
286    if (hp == NULL)    if (hp == NULL)
287      {      {
288        return NULL;        return NULL;

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26