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)