TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: Git commit to main/sbbs/m
from: Rob Swindell (on Windows
date: 2024-12-01 15:58:00
subject: src/sbbs3/answer.cpp atco

https://gitlab.synchro.net/main/sbbs/-/commit/62ed3d3af216be9980ac5af7
Modified Files:
	src/sbbs3/answer.cpp atcodes.cpp bat_xfer.cpp bulkmail.cpp chat.cpp download.cpp email.cpp exec.cpp execfunc.cpp getkey.cpp getnode.cpp js_bbs.cpp listfile.cpp logfile.cpp logon.cpp logout.cpp mail.cpp main.cpp newuser.cpp putnode.cpp readmsgs.cpp sbbs.h str.cpp telgate.cpp un_rep.cpp writemsg.cpp xtrn.cpp xtrn_sec.cpp
Log Message:
Simplify the getnode.cpp API - use bool returns, default paramaeter value

getnodedat() now performs a non-locked read by default.

Perform more checks of getnodedat() return value before calling putnodedat()
to avoid unintentionally zeroing out node.dab records.

Add/use unlocknodedat() method for unlocking a node.dab record without
writing.

Note: The userdat.c getnodedat() and putnodedat() still return int (i.e. 0 on
success), so that can be confusing.
--- SBBSecho 3.23-Linux
                                                        
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.