cvs commit: projects/csup proto.c

Maxime Henrion mux at
Tue Feb 14 13:58:06 PST 2006

mux         2006-02-14 21:58:05 UTC

  FreeBSD projects repository

  Modified files:
    csup                 proto.c 
  Stop using inet_ntop() for printing the intenet address.  I was using
  it completely wrong since it doesn't accept a struct sockaddr *, but
  expects a struct in_addr *.  It is thus not generic enough for my
  needs anyways.  Use the getnameinfo() API with NI_NUMERICHOST to get
  the ASCII address in a more generic (and working!) way.
  Revision  Changes    Path
  1.67      +5 -11     projects/csup/proto.c

More information about the cvs-all mailing list