remove ctor from torrent creation and parse functions

This commit is contained in:
Mitchell Livingston
2007-12-22 18:43:40 +00:00
parent b13d8d1dd6
commit ec00579ea7
3 changed files with 10 additions and 10 deletions

View File

@@ -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;