aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-06 17:48:08 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-12 12:16:09 +0000
commitfb0dbab93442762349ccaf8104d5bb8d7bc329bd (patch)
tree9a978a134f0ba31183ba3a1b76b69b57bc289467
parentcore: add --block-rate-notify (diff)
downloadmonero-fb0dbab93442762349ccaf8104d5bb8d7bc329bd.tar.xz
notify: fix tokenizing being too strict
-rw-r--r--src/common/notify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/notify.cpp b/src/common/notify.cpp
index 2a8228283..b2316a3b1 100644
--- a/src/common/notify.cpp
+++ b/src/common/notify.cpp
@@ -45,7 +45,7 @@ Notify::Notify(const char *spec)
{
CHECK_AND_ASSERT_THROW_MES(spec, "Null spec");
- boost::split(args, spec, boost::is_any_of(" "));
+ boost::split(args, spec, boost::is_any_of(" \t"), boost::token_compress_on);
CHECK_AND_ASSERT_THROW_MES(args.size() > 0, "Failed to parse spec");
filename = args[0];
CHECK_AND_ASSERT_THROW_MES(epee::file_io_utils::is_file_exist(filename), "File not found: " << filename);