mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-18 15:16:17 +00:00
Added missing return value to watched command.
This commit is contained in:
@@ -327,6 +327,7 @@ directory_watch_added(const torrent::Object::list_type& args) {
|
|||||||
control->directory_events()->notify_on(path.c_str(),
|
control->directory_events()->notify_on(path.c_str(),
|
||||||
torrent::directory_events::flag_on_added | torrent::directory_events::flag_on_updated,
|
torrent::directory_events::flag_on_added | torrent::directory_events::flag_on_updated,
|
||||||
tr1::bind(&call_watch_command, command, tr1::placeholders::_1));
|
tr1::bind(&call_watch_command, command, tr1::placeholders::_1));
|
||||||
|
return torrent::Object();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user