* Fixed 'log.execute'.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1270 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2011-08-17 04:30:23 +00:00
parent 7680277eee
commit c1eccb4bd7
+1 -1
View File
@@ -93,7 +93,7 @@ apply_log(const torrent::Object::string_type& arg, int logType) {
}
}
if (arg.empty()) {
if (!arg.empty()) {
int logFd = open(rak::path_expand(arg).c_str(), O_WRONLY | O_APPEND | O_CREAT, 0644);
if (logFd < 0)