FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-03-13 16:41:06
Subject: src/sbbs3/js_msgbase.c

src/sbbs3 js_msgbase.c 1.229 1.230
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv7623

Modified Files:
	js_msgbase.c 
Log Message:
Rewind the msgbase index file before calling fread(). The fread() would
fail if the current file pointer (offset) was not currently at the beginning
of the file. So calling MsgBase.get_all_msg_headers() after previously calling
any method that read/seeked the index would cause the reported error:
"index read (xxxx) failed"


--- 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
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>