Fix a bug when adding a cert

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2731 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-04-19 11:58:34 +00:00
parent a5bc5d7aa2
commit 768b9288b5
2 changed files with 11 additions and 4 deletions

View file

@ -981,7 +981,11 @@ bool p3Peers::loadDetailsFromStringCert(std::string certstr, RsPeerDetails &pd)
std::cerr << "ConnectFriendWizard : Parse ip address error." << std::endl;
}
return true;
if (pd.gpg_id == "") {
return false;
} else {
return true;
}
}