From 89f48fc1b63c0fdbf3fd95c485c2887a3f17c53b Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 5 Sep 2013 21:28:39 +0000 Subject: [PATCH] fixed bug in pgp handler causing trust info to not being saved correctly git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6696 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pgp/pgphandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pgp/pgphandler.cc b/libretroshare/src/pgp/pgphandler.cc index 1ae09fe23..060227ea4 100644 --- a/libretroshare/src/pgp/pgphandler.cc +++ b/libretroshare/src/pgp/pgphandler.cc @@ -1630,7 +1630,7 @@ bool PGPHandler::locked_writePrivateTrustDatabase() for(std::map::iterator it = _public_keyring_map.begin();it!=_public_keyring_map.end() ;++it) { - memcpy(&trustpacket.user_id,PGPIdType(it->first).toByteArray(),KEY_ID_SIZE) ; + memcpy(trustpacket.user_id,PGPIdType(it->first).toByteArray(),KEY_ID_SIZE) ; trustpacket.trust_level = it->second._trustLvl ; trustpacket.time_stamp = it->second._time_stamp ;