mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
ipc fix for last commit
This commit is contained in:
parent
5619eae447
commit
54106f3ca0
3 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue