diff options
Diffstat (limited to 'libktorrent/torrent/torrent.cpp')
-rw-r--r-- | libktorrent/torrent/torrent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libktorrent/torrent/torrent.cpp b/libktorrent/torrent/torrent.cpp index e02af51..c5d8459 100644 --- a/libktorrent/torrent/torrent.cpp +++ b/libktorrent/torrent/torrent.cpp @@ -444,6 +444,6 @@ namespace bt bool Torrent::checkPathForDirectoryTraversal(const TQString & p) { TQStringList sl = TQStringList::split(bt::DirSeparator(),p); - return !sl.tqcontains(".."); + return !sl.contains(".."); } } |