[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/akonadi/resources/mbox/libmbox
From:       Bertjan Broeksema <b.broeksema () home ! nl>
Date:       2009-07-03 9:58:51
Message-ID: 1246615131.364919.11716.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 990775 by bbroeksema:

Don't forget to initialize the initial mbox file size.


 M  +2 -1      mbox.cpp  


--- trunk/KDE/kdepim/akonadi/resources/mbox/libmbox/mbox.cpp #990774:990775
@@ -171,9 +171,10 @@
   if ( !d->mMboxFile.exists() && !d->mMboxFile.open( QIODevice::WriteOnly ) )
     return false;
 
-  if ( ! lock() )
+  if ( !lock() )
     return false;
 
+  d->mInitialMboxFileSize = d->mMboxFile.size();
   d->mAppendedEntries.clear();
   d->mEntries.clear();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic