Subj : CVS commit src/smblib/smblib.c To : All From : rswindell Date : Fri Sep 30 2005 02:10 am src/smblib smblib.c 1.132 1.133 Update of /cvsroot/sbbs/src/smblib In directory cvs.synchro.net:/tmp/cvs-serv14004 Modified Files: smblib.c Log Message: If smb_getmsgidx() is called with a negative offset, it actually sets the correct offset (from the beginning of the index) in the msg struct. smb_putmsgidx() will now return an error if asked to write to an index record offset past the end of the file (typically leaving a "hole" of zeroes in the index file). smb_putmsgidx() and smb_putmsghdr() now returns the result of the final fflush() call (normally 0, same as SMB_SUCCESS). .