diff --git a/src/createtorrent_imp.cpp b/src/createtorrent_imp.cpp index 000d08271..2354bc52a 100644 --- a/src/createtorrent_imp.cpp +++ b/src/createtorrent_imp.cpp @@ -263,7 +263,7 @@ void torrentCreatorThread::run() { t.set_creator(creator_str); t.set_comment((const char*)comment.toLocal8Bit()); // Is private ? - t.set_prive(is_private); + t.set_priv(is_private); if(abort) return; // create the torrent and print it to out ofstream out(complete(path((const char*)save_path.toLocal8Bit())), std::ios_base::binary);