mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
ipc fix for last commit
This commit is contained in:
@@ -485,7 +485,7 @@ PrefsController * fPrefsController;
|
||||
while( nil != ( tor = [enumerator nextObject] ) )
|
||||
{
|
||||
if( IPC_MSG_INFO == respid )
|
||||
res = ipc_addinfo( pkinf, [tor torrentID], [tor torrentInfo], types );
|
||||
res = ipc_addinfo( pkinf, [tor torrentID], [tor torrentStruct], types );
|
||||
else
|
||||
res = ipc_addstat( pkinf, [tor torrentID], [tor torrentStruct], types );
|
||||
if( 0 > res )
|
||||
|
||||
@@ -254,6 +254,5 @@ typedef enum
|
||||
|
||||
- (int) torrentID;
|
||||
- (tr_torrent *) torrentStruct;
|
||||
- (const tr_info *) torrentInfo;
|
||||
|
||||
@end
|
||||
|
||||
@@ -1520,11 +1520,6 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
||||
return fHandle;
|
||||
}
|
||||
|
||||
- (const tr_info *) torrentInfo
|
||||
{
|
||||
return fInfo;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation Torrent (Private)
|
||||
|
||||
Reference in New Issue
Block a user