From baffe32942812ff8b73bdd5576447caa82c9a082 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 16 Jan 2011 22:28:31 +0000 Subject: [PATCH] debug logging fix --- include/libtorrent/debug.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libtorrent/debug.hpp b/include/libtorrent/debug.hpp index 96c2e749a..5acb343d6 100644 --- a/include/libtorrent/debug.hpp +++ b/include/libtorrent/debug.hpp @@ -146,6 +146,7 @@ namespace libtorrent { mutex::scoped_lock l(file_mutex); log_file.close(); + open_filename.clear(); } logger(std::string const& logpath, std::string const& filename