• src/smblib/smbadd.c

    From rswindell@VERT to CVS commit on Sun Nov 13 02:50:30 2016
    src/smblib smbadd.c 1.31 1.32
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv12549

    Modified Files:
    smbadd.c
    Log Message:
    smb_addvote() now requires that the caller setup the msg.hdr.thread_back value first (performing any reply_id look-up necessary). That functionality was moved to postmsg.cpp->votemsg().


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thu Dec 1 03:19:53 2016
    src/smblib smbadd.c 1.38 1.39
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv14709

    Modified Files:
    smbadd.c
    Log Message:
    smb_addmsg() - allow messages to be added without a subject. These msgs might cause problems elsewhere (reading, viewing, exporting), so that'll need to be tested.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 10 02:34:12 2020
    src/smblib smbadd.c 1.43 1.44
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv10071

    Modified Files:
    smbadd.c
    Log Message:
    If smb_getstatus() fails with a SMB_ERR_READ (-203) error while trying to add
    a new message with smb_addmsg(), retry (using the configured delay/timeout values).
    On Windows, importing a QWK packet into SMB messagebases stored on a remote Samba server, for some unknown reason, the read of the msgbase status header here would fail about 1 out of 100 times, with the error:
    evnt ERROR 13 (Permission denied) (WinError 33) in qwktomsg.cpp line 515
    (sbbs_t::qwk_import_msg) writing "msgbase" access=-203 info=smb_getstatus
    reading status
    ... as if another task had the msgbase status hdr locked (which, they don't), and we (this thread) already had it locked (just 8 lines up in this same function), so shouldn't even be possible. A single retry appeared to be sufficient, but I went ahead and put the timed-loop with the delay in here.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 12 03:09:33 2020
    src/smblib smbadd.c 1.45 1.46
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv21488

    Modified Files:
    smbadd.c
    Log Message:
    Removed unused variable.


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