[Quickfix-developers] Bug #55 - bug in seqnum storing file
Brought to you by:
orenmnero
From: Joerg T. <Joe...@ma...> - 2005-01-28 12:37:30
|
Hi all, as reported by Alexey Zubko, I added the following bug: <http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=55> My first though was to append new-line instead of space, but new-line is different on Windows, Mac and UNIX. Since the space is also a separator in the header file, I would do the following changes in FileStore.cpp: 147 if ( fscanf( seqNumFile, "%d : %d ", &sender, &target ) == 2 ) ^ and 288 fprintf( m_seqNumsFile, "%d : %d ", ^ 289 getNextSenderMsgSeqNum(), getNextTargetMsgSeqNum() ); Thanks, Alexey for reporting that. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |