notify: fix tokenizing being too strict

release-v0.5.1
moneromooo-monero 5 years ago committed by wowario
parent cdf2e30825
commit eb5a2cbdd2
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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);

Loading…
Cancel
Save