corrected potentially harmful uninitialized memory reads

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-08-14 07:28:58 +00:00
parent 98eb6b835d
commit dfeaed705b
2 changed files with 3 additions and 1 deletions

View File

@ -1478,6 +1478,7 @@ std::string GPGAuthMgr::SaveCertificateToString(std::string id)
std::cerr << "Error export Data";
std::cerr << std::endl;
}
gpgme_data_write (gpgmeData, "", 1); // to be able to convert it into a string
fflush (NULL);
fputs ("Begin Result:\n", stdout);

View File

@ -78,6 +78,7 @@ p3turtle::p3turtle(p3ConnectMgr *cm,ftServer *fs)
_last_clean_time = 0 ;
_last_tunnel_management_time = 0 ;
_last_tunnel_campaign_time = 0 ;
}
int p3turtle::tick()