mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
remove ctor from torrent creation and parse functions
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
{
|
||||
ctor = tr_ctorNew(fLib);
|
||||
tr_ctorSetMetainfoFromFile(ctor, [file UTF8String]);
|
||||
if (tr_torrentParseFromCtor(fLib, ctor, &info) == TR_OK)
|
||||
if (tr_torrentParse(fLib, ctor, &info) == TR_OK)
|
||||
{
|
||||
count++;
|
||||
size += info.totalSize;
|
||||
|
||||
Reference in New Issue
Block a user