Index: libtorrent/src/torrent/data/file_utils.cc =================================================================== --- libtorrent/src/torrent/data/file_utils.cc (revision 854) +++ libtorrent/src/torrent/data/file_utils.cc (working copy) @@ -91,7 +91,7 @@ FileList::iterator itr = fileList->begin(); while (itr != fileList->end()) - if ((*itr)->size_bytes() > maxSize || !(*itr)->path()->empty()) + if ((*itr)->size_bytes() > maxSize && !(*itr)->path()->empty()) itr = file_split(fileList, itr, maxSize, suffix); else itr++;