• src/smblib/smbstr.c

    From Rob Swindell (on Debian Linux)@VERT 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 detection

    smb_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()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Jan 2 22:26:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5f593b884b68d7452ec8a7f6
    Modified Files:
    src/smblib/smbstr.c
    Log Message:
    Fix small negative UTC-offset output from smb_zonestr()

    When passed values between (-1 and -59), this function would output something nonsensical like: "UTC0:01" or "UTC0:59". Now we'll make sure there's a minus sign in these conditions (e.g. "UTC-0:01" and "UTC-0:59").

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