diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-06 17:48:08 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-12 12:16:09 +0000 |
commit | fb0dbab93442762349ccaf8104d5bb8d7bc329bd (patch) | |
tree | 9a978a134f0ba31183ba3a1b76b69b57bc289467 | |
parent | core: add --block-rate-notify (diff) | |
download | monero-fb0dbab93442762349ccaf8104d5bb8d7bc329bd.tar.xz |
notify: fix tokenizing being too strict
-rw-r--r-- | src/common/notify.cpp | 2 |
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); |