• src/sbbs3/answer.cpp atcodes.cpp bat_xfer.cpp bulkmail.cpp chat.cpp do

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, December 01, 2024 15:58:21
    https://gitlab.synchro.net/main/sbbs/-/commit/62ed3d3af216be9980ac5af7
    Modified Files:
    src/sbbs3/answer.cpp atcodes.cpp bat_xfer.cpp bulkmail.cpp chat.cpp download.cpp email.cpp exec.cpp execfunc.cpp getkey.cpp getnode.cpp js_bbs.cpp listfile.cpp logfile.cpp logon.cpp logout.cpp mail.cpp main.cpp newuser.cpp putnode.cpp readmsgs.cpp sbbs.h str.cpp telgate.cpp un_rep.cpp writemsg.cpp xtrn.cpp xtrn_sec.cpp
    Log Message:
    Simplify the getnode.cpp API - use bool returns, default paramaeter value

    getnodedat() now performs a non-locked read by default.

    Perform more checks of getnodedat() return value before calling putnodedat()
    to avoid unintentionally zeroing out node.dab records.

    Add/use unlocknodedat() method for unlocking a node.dab record without
    writing.

    Note: The userdat.c getnodedat() and putnodedat() still return int (i.e. 0 on success), so that can be confusing.

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