• src/sbbs3/qwk.h

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Sunday, December 24, 2023 00:31:00
    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@VERT to Git commit to main/sbbs/master on Wednesday, December 27, 2023 17:39:00
    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