mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
notify: fix tokenizing being too strict
This commit is contained in:
parent
0ac22d0e1c
commit
fb0dbab934
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ Notify::Notify(const char *spec)
|
||||||
{
|
{
|
||||||
CHECK_AND_ASSERT_THROW_MES(spec, "Null 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");
|
CHECK_AND_ASSERT_THROW_MES(args.size() > 0, "Failed to parse spec");
|
||||||
filename = args[0];
|
filename = args[0];
|
||||||
CHECK_AND_ASSERT_THROW_MES(epee::file_io_utils::is_file_exist(filename), "File not found: " << filename);
|
CHECK_AND_ASSERT_THROW_MES(epee::file_io_utils::is_file_exist(filename), "File not found: " << filename);
|
||||||
|
|
Loading…
Reference in a new issue