diff --git a/src/session_impl.cpp b/src/session_impl.cpp index cd808e923..172033960 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -4604,8 +4604,8 @@ namespace aux { } TORRENT_ASSERT(params->ti->is_valid()); TORRENT_ASSERT(params->ti->num_files() > 0); - add_torrent(*params, ec); params->url.clear(); + add_torrent(*params, ec); } #ifndef TORRENT_DISABLE_EXTENSIONS