SVNSILENT revert my cruft, that wasn't meant to go in.

svn path=/trunk/KDE/kdepim/; revision=432173
wilder-work
Till Adam 21 years ago
parent 6b027487be
commit 4fa609028e
  1. 2
      kmmsgdict.cpp
  2. 2
      tests/messagedicttests.cpp

@ -368,7 +368,6 @@ int KMMsgDict::readFolderIds( FolderStorage& storage )
return -1;
QString filename = getFolderIdsLocation( storage );
kdDebug(5006) << "READ: " << filename << endl;
FILE *fp = fopen(QFile::encodeName(filename), "r+");
if (!fp)
return -1;
@ -406,7 +405,6 @@ int KMMsgDict::readFolderIds( FolderStorage& storage )
msn = kmail_swap_32(msn);
if (!readOk || dict->find(msn)) {
if ( readOk ) kdDebug(5006) << "@@@@@@@@@@@@@@@@@22222 already registered msn: " << msn << endl;
for (unsigned int i = 0; i < index; i++) {
msn = rentry->getMsn(i);
dict->remove((long)msn);

@ -32,7 +32,7 @@ void MessageDictTester::testKMDictCreation()
{
p("MessageDictTester::testKMDict()");
p("Check creation with size of next prime: ");
CHECK( m_dict->size(), 30 );
CHECK( m_dict->size(), 31 );
m_dict->init( 13 ); // will be created with a 13, no nextPrime()
CHECK( m_dict->size(), 13 );
}

Loading…
Cancel
Save