• src/sbbs3/qwk.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Dec 24 00:31:24 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/5d9e4628374af717936f601d
    Modified Files:
    src/sbbs3/qwk.h
    Log Message:
    Address cppcheck error - not an actual bug

    netmail.cpp:411:25: error: Invalid strchr() argument nr 2. The value is -29
    but the valid values are '0:255'. [invalidFunctionArg]
    char* tp = strchr(to, QWK_NEWLINE); /* chop off at first CR */

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Dec 27 17:39:10 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7522fdb977ade9894106d45c
    Modified Files:
    src/sbbs3/qwk.h
    Log Message:
    Revert "Address cppcheck error - not an actual bug"

    This reverts commit 5d9e4628374af717936f601db03284a18ab40c5d.

    Causes MSVC warning:
    msgtoqwk.cpp(249): warning C4309: 'initializing': truncation of constant value


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