disable printf of dm's

This commit is contained in:
Miguel Freitas 2013-10-22 18:31:54 -02:00
parent 7e1726ba8c
commit 6cb5364605

View File

@ -585,9 +585,11 @@ bool processReceivedDM(lazy_entry const* post)
} else {
std::string textOut;
if( key.Decrypt(sec, textOut) ) {
/* this printf is good for debug, but bad for security.
printf("Received DM for user '%s' text = '%s'\n",
item.second.username.c_str(),
textOut.c_str());
*/
std::string n = post->dict_find_string_value("n");