• src/sbbs3/getstats.c

    From Rob Swindell@VERT to Git commit to sbbs/master on Sat Sep 26 09:38:58 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/39a77d9acafccfee0dd178ae
    Modified Files:
    src/sbbs3/getstats.c
    Log Message:
    For subs that allow voting, getposts() will exclude vote messages from total.

    Vote messages and poll closures are not displayed to users as messages, so exclude them from the total "posts" returned from getposts(). This uses
    the new smb_msg_count() function which is slower than simply checking the
    size of the index file (*.sid) and dividing by the index record size. So
    for sub-boards that don't support voting, use the old/faster scheme.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to Main/master on Mon Nov 23 09:03:07 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/1d8e2cc427c4da99e44fd861
    Modified Files:
    src/sbbs3/getstats.c
    Log Message:
    Fix the sbbs.h dependency unintentionally left after c_dep_refactor

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 23 17:07:26 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/da2177b75997fcb7b00b0bf7
    Modified Files:
    src/sbbs3/getstats.c
    Log Message:
    Add TODO comment about dsts.dab not tracking > 4GB up/downloads

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Mar 29 16:18:45 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f609ac6ce9e3cbe09dd500fd
    Modified Files:
    src/sbbs3/getstats.c
    Log Message:
    Use fnopen() in fopen_dstats() to get open auto-retries

    iniFileOpen() does not perform retries and there can be contention for the ctrl/dsts.ini file.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Oct 21 19:47:30 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/dc4d9eb9f723cdf5cbdd1915
    Modified Files:
    src/sbbs3/getstats.c
    Log Message:
    Don't log an error if there's no dsts.ini or dsts.dab file

    In a fresh install, neither of these files would exist, and that's normal,
    so getstats() should just return true in that case (with the stats struct zeroed-out).

    Fixes error during login to a new install reported by Zolt n G bor on
    Facebook.

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