mirror of
https://github.com/transmission/transmission.git
synced 2026-04-29 05:04:36 +01:00
Revert "Merge pull request #1039 from MaddTheSane/patch-4"
This reverts commitc0c463d660, reversing changes made tocd2587a435.
This commit is contained in:
@@ -45,7 +45,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
|
||||
//try to parse the torrent file
|
||||
tr_info inf;
|
||||
tr_ctor * ctor = tr_ctorNew(NULL);
|
||||
tr_ctorSetMetainfoFromFile(ctor, [(__bridge NSURL *)url fileSystemRepresentation]);
|
||||
tr_ctorSetMetainfoFromFile(ctor, [[(__bridge NSURL *)url path] UTF8String]);
|
||||
const int err = tr_torrentParse(ctor, &inf);
|
||||
tr_ctorFree(ctor);
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user