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:
csoler 2013-05-31 08:13:16 +00:00
parent 58319bc8ff
commit 465420c59c

View File

@ -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) ;