notify: handle arbitrary tags

This commit is contained in:
moneromooo-monero 2019-01-09 14:28:42 +00:00
parent ff95921668
commit f6db59b011
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 23 additions and 7 deletions

View file

@ -67,7 +67,7 @@ TEST(notify, works)
+ " " + name_template + " %s";
tools::Notify notify(spec.c_str());
notify.notify("1111111111111111111111111111111111111111111111111111111111111111");
notify.notify("%s", "1111111111111111111111111111111111111111111111111111111111111111", NULL);
bool ok = false;
for (int i = 0; i < 10; ++i)