FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-03-13 00:20:32
Subject: src/smblib/smbstr.c

src/smblib smbstr.c 1.32 1.33
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/home/rswindell/sbbs/src/smblib

Modified Files:
	smbstr.c 
Log Message:
smb_netaddr_type() (exposed via JS as netaddr_type()) change:
prior to rev 1.29 of this file (committed almost exactly one year ago), when
called with any string that did not include an '{at}', would return NET_NONE (0).
After rev 1.29, most strings that did not include an '{at}' would cause the
function to return NET_QWK (4) - this was not intentional. The intention was
that FidoNet addresses without an '{at}' would cause this function to return
NET_FIDO (2) and I don't exactly remember why that change was made, but
unfortunately, it wasn't made very well, so other invalid addresses would be
detected as NET_QWK or NET_INTERNET or even NET_UNKNOWN.
So before and after this commit:
"" was NET_UNKNOWN, now NET_NONE
"1" was NET_FIDO, now NET_FIDO
"1x" was NET_INTERNET, now NET_NONE
"1:103" was NET_FIDO, now NET_FIDO (this could use some work)
"x" was NET_QWK, now NET_NONE


--- SBBSecho 3.06-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/848 886
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>