From eb5a2cbdd248eff6e1875c290a04e8c19a0ebd55 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 6 Feb 2019 17:48:08 +0000 Subject: [PATCH] notify: fix tokenizing being too strict --- src/common/notify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);