|
|
@ -478,7 +478,7 @@ int KMFolderCachedImap::writeUidCache()
|
|
|
|
str << lastUid() << endl;
|
|
|
|
str << lastUid() << endl;
|
|
|
|
uidcache.flush();
|
|
|
|
uidcache.flush();
|
|
|
|
if ( uidcache.status() == IO_Ok ) {
|
|
|
|
if ( uidcache.status() == IO_Ok ) {
|
|
|
|
fsync( uidcache.handle() ); /* this is probably overkill */
|
|
|
|
// fsync( uidcache.handle() ); /* this is probably overkill */
|
|
|
|
uidcache.close();
|
|
|
|
uidcache.close();
|
|
|
|
if ( uidcache.status() == IO_Ok )
|
|
|
|
if ( uidcache.status() == IO_Ok )
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|