1
0
Fork 0
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:
Mitchell Livingston 2008-04-10 19:43:09 +00:00
parent 5619eae447
commit 54106f3ca0
3 changed files with 1 additions and 7 deletions

View file

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

View file

@ -254,6 +254,5 @@ typedef enum
- (int) torrentID;
- (tr_torrent *) torrentStruct;
- (const tr_info *) torrentInfo;
@end

View file

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