mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 04:32:30 +00:00
* Fixed 'log.execute'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1270 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user