• src/sbbs3/logout.cpp

    From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Thu Feb 16 18:56:30 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/166e81b9ea286aaf9584b64d
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Report correct upload/download Kbytes in data/logs/<date>.log filesAfter the move to 64-bit upload/download byte counts, these integers are different width than 'long' on 32-bit builds (e.g. Windows), so these numbers were wrong on all but 64-bit *nix builds.The change here also uses the cool byte_estimate_to_str() function so that large byte totals are not expressed in 'K' but rather 'M', 'G', 'T' etc. suffixes.The formatting is otherwise consistent with the pre-existing log line format save for the use of an uppercase suffix now.Before:@- 02:19p T: 12 R: 0 P: 0 E: 0 F: 0 U: 0k 0 D:420k 1After:@- 02:07p T: 0 R: 0 P: 0 E: 0 F: 0 U: 0K 0 D:420K 1Before:@- 02:23p T: 0 R: 0 P: 0 E: 0 F: 0 U: 0k 0 D:1359k 1After:@- 02:26p T: 1 R: 0 P: 0 E: 0 F: 0 U: 0K 0 D:1.3M 1This fixes issue #519. I'm glad to hear that sysops still use these log files!
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Sat Feb 18 21:37:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bd69af94da93456cab26f24e
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Insure there's at least one space between stats in .lol filesThe format string used did not insure there was any space between fields leading to very hard to parse stats, like this:User 2 SSH 12:25 12:39 14554 0 0 0 0 0That's 554 msgs read in 14 minutes online, but well, you see what I'm say'n.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)