Patch level : 12.0 no-patch
Files correlati : Commento : Aggiornamento codice per passaggio a Visual Studio 2017 git-svn-id: svn://10.65.10.50/branches/R_10_00@24258 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d052b58711
commit
425522aebc
@ -47,7 +47,7 @@ void TMailbox::reread()
|
|||||||
|
|
||||||
// skip read messages
|
// skip read messages
|
||||||
mbox.seekg(_lastpos);
|
mbox.seekg(_lastpos);
|
||||||
while (mbox.getline(buf, MAX_TXT_LEN -1) != NULL)
|
while (mbox.getline(buf, MAX_TXT_LEN -1).good()) // (mbox.getline(buf, MAX_TXT_LEN -1) != NULL)
|
||||||
{
|
{
|
||||||
// process new message
|
// process new message
|
||||||
TMessage* tmnew = new TMessage (NULL, NULL, NULL, buf);
|
TMessage* tmnew = new TMessage (NULL, NULL, NULL, buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user