mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed update of time_stamps for keys from disk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
58319bc8ff
commit
465420c59c
@ -1369,7 +1369,9 @@ void PGPHandler::locked_readPrivateTrustDatabase()
|
||||
|
||||
++n_packets ;
|
||||
it->second._trustLvl = trustpacket.trust_level ;
|
||||
it->second._time_stamp = trustpacket.time_stamp ;
|
||||
|
||||
if(trustpacket.time_stamp > it->second._time_stamp) // only update time stamp if the loaded time stamp is newer
|
||||
it->second._time_stamp = trustpacket.time_stamp ;
|
||||
}
|
||||
|
||||
fclose(fdb) ;
|
||||
|
Loading…
Reference in New Issue
Block a user