• src/sbbs3/ftpsrvr.c login

    From rswindell@VERT to CVS commit on Tuesday, April 23, 2019 23:07:00
    src/sbbs3 ftpsrvr.c 1.488 1.489 login.cpp 1.27 1.28 mailsrvr.c 1.688 1.689 main.cpp 1.746 1.747 sbbsdefs.h 1.236 1.237 services.c 1.328 1.329 websrvr.c 1.679 1.680
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29266

    Modified Files:
    ftpsrvr.c login.cpp mailsrvr.c main.cpp sbbsdefs.h services.c
    Log Message:
    Clean up the hostname look-up stuff:
    - getnameinfo() was being called with NI_NUMERICHOST in the mail server and
    web server (but nowhere else)
    - use a singly-defined macro (STR_NO_HOSTNAME) for the "<no name>" string
    rather than copying it about
    - the webserver apparently assumes that session->host_name will always have
    *some* unique value (e.g. the IP address when no hostname is available) - so
    account for that special need <grumble>

    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net