diff --git a/macosx/IPCController.m b/macosx/IPCController.m index a031e81e8..a5b92acd7 100644 --- a/macosx/IPCController.m +++ b/macosx/IPCController.m @@ -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 ) diff --git a/macosx/Torrent.h b/macosx/Torrent.h index 6c5af4481..3874e56b8 100644 --- a/macosx/Torrent.h +++ b/macosx/Torrent.h @@ -254,6 +254,5 @@ typedef enum - (int) torrentID; - (tr_torrent *) torrentStruct; -- (const tr_info *) torrentInfo; @end diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 5151920c9..0aa24f52d 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -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)