• src/smblib/smbstr.c

    From rswindell@1:103/705 to CVS commit on Mon May 25 12:17:06 2020
    src/smblib smbstr.c 1.37 1.38
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/home/rswindell/sbbs/src/smblib

    Modified Files:
    smbstr.c
    Log Message:
    strlcpy() is not currently supported in the Linux build (needs -lbsd).
    Switch to strncpy().


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Mar 2 01:11:32 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1ad07164bb3a4da28086ec3b
    Modified Files:
    src/smblib/smbstr.c
    Log Message:
    Better automatic network address type detectionsmb_netaddr_type():- if passed NULL or a string that begins with whitespace, now returns NET_NONE.- if passed a string that begins with '@', now returns NET_UNKNOWN.- if the user.name portion of an otherwise value Internet email address contains a space, now returns NET_NONE.smb_get_net_type_by_addr()- if passed a string that begins with '@', now returns NET_UNKNOWN.- if passed a string with space following '@', will now return NET_UNKNOWN.- if passed a string without a dot following '@', will never return NET_INTERNET.Unrelated change: Add the missing FILE attribute to smb_msgattrstr()
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)