notify: handle arbitrary tags

This commit is contained in:
moneromooo-monero 2019-01-09 14:28:42 +00:00
parent ebc60a098d
commit 842a5d8bbe
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
6 changed files with 113 additions and 6 deletions

View file

@ -3575,7 +3575,7 @@ leave:
std::shared_ptr<tools::Notify> block_notify = m_block_notify;
if (block_notify)
block_notify->notify(epee::string_tools::pod_to_hex(id).c_str());
block_notify->notify("%s", epee::string_tools::pod_to_hex(id).c_str(), NULL);
return true;
}