• src/sbbs3/mailsrvr.h mxlookup.c

    From rswindell@VERT to CVS commit on Sat Aug 29 13:53:30 2015
    src/sbbs3 mailsrvr.h 1.75 1.76 mxlookup.c 1.27 1.28
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16727

    Modified Files:
    mailsrvr.h mxlookup.c
    Log Message:
    Fix broken dns_getmx() (since Ipv6 commit): mail_open_socket() no longer opens a socket (and returns void), but mxlookup.c did not know this because it had its own prototype for this function (lazy, I know).
    - moved the prototypes for mail_open_socket and mail_close_socket to mailsrvr.h - use socket() to create the (single) socket (is not a multisock, does not do
    IPv6)
    - this was the cause of the "getting socket option type" errors in the
    error.log that began showing up recently. Good thing it had a "LOG_ERR"
    log level or I probably would not have noticed for a long time. :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net