Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 21:58:05 +0000 (UTC)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: projects/csup proto.c
Message-ID:  <200602142158.k1ELw5Lu043155@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2006-02-14 21:58:05 UTC

  FreeBSD projects repository

  Modified files:
    csup                 proto.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602142158.k1ELw5Lu043155>