Changeset 1912
- Timestamp:
- May 23, 2007, 4:45:20 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/beos/TRWindow.cpp
r1576 r1912 312 312 // Remove the file from the filesystem. 313 313 TRTransfer *item = (TRTransfer*)transfers->RemoveItem(index); 314 tr_torrentClose( engine,item->GetTorrent());314 tr_torrentClose(item->GetTorrent()); 315 315 BEntry *entry = new BEntry(item->GetCachedPath(), true); 316 316 entry->Remove(); -
trunk/cli/transmissioncli.c
r1770 r1912 284 284 285 285 cleanup: 286 tr_torrentClose( h,tor );286 tr_torrentClose( tor ); 287 287 tr_close( h ); 288 288 -
trunk/daemon/torrents.c
r1732 r1912 643 643 if( TR_STATUS_PAUSE & st->status ) 644 644 { 645 tr_torrentClose( gl_handle,tor->tor );645 tr_torrentClose( tor->tor ); 646 646 RB_REMOVE( tortree, &gl_tree, tor ); 647 647 RB_REMOVE( hashtree, &gl_hashes, tor ); … … 674 674 { 675 675 next = RB_NEXT( tortree, &gl_tree, tor ); 676 tr_torrentClose( gl_handle,tor->tor );676 tr_torrentClose( tor->tor ); 677 677 RB_REMOVE( tortree, &gl_tree, tor ); 678 678 RB_REMOVE( hashtree, &gl_hashes, tor ); -
trunk/gtk/tr_torrent.c
r1910 r1912 239 239 if(!tr_torrent_paused(self)) 240 240 tr_torrentStop(self->handle); 241 tr_torrentClose( tr_core_handle( TR_CORE( self->core) ) ,self->handle );241 tr_torrentClose( self->handle ); 242 242 self->handle = NULL; 243 243 } -
trunk/libtransmission/torrent.c
r1869 r1912 664 664 * Frees memory allocated by tr_torrentInit. 665 665 **********************************************************************/ 666 void tr_torrentClose( tr_handle_t * h, tr_torrent_t * tor ) 667 { 666 void tr_torrentClose( tr_torrent_t * tor ) 667 { 668 tr_handle_t * h = tor->handle; 668 669 tr_info_t * inf = &tor->info; 669 670 -
trunk/libtransmission/transmission.h
r1868 r1912 368 368 * you must call tr_torrentStop() before closing it. 369 369 **********************************************************************/ 370 void tr_torrentClose( tr_ handle_t *, tr_torrent_t * );370 void tr_torrentClose( tr_torrent_t * ); 371 371 372 372 /*********************************************************************** -
trunk/macosx/Controller.m
r1900 r1912 783 783 [torrentPath release]; 784 784 785 tr_torrentClose( fLib,tempTor);785 tr_torrentClose(tempTor); 786 786 [panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: fWindow modalDelegate: self 787 787 didEndSelector: @selector(folderChoiceClosed:returnCode:contextInfo:) contextInfo: dictionary]; … … 1972 1972 1973 1973 if (tempTor) 1974 tr_torrentClose( fLib,tempTor);1974 tr_torrentClose(tempTor); 1975 1975 else if (error != TR_EUNSUPPORTED && error != TR_EDUPLICATE) 1976 1976 [fAutoImportedNames removeObject: [file lastPathComponent]]; //can try to import later … … 2102 2102 if ((tempTor = tr_torrentInit(fLib, [file UTF8String], NULL, 0, &error))) 2103 2103 { 2104 tr_torrentClose( fLib,tempTor);2104 tr_torrentClose(tempTor); 2105 2105 2106 2106 [fOverlayWindow setFiles: files]; … … 2143 2143 if ((tempTor = tr_torrentInit(fLib, [file UTF8String], NULL, 0, &error))) 2144 2144 { 2145 tr_torrentClose( fLib,tempTor);2145 tr_torrentClose(tempTor); 2146 2146 [filesToOpen addObject: file]; 2147 2147 } -
trunk/macosx/DragOverlayWindow.m
r1902 r1912 99 99 } 100 100 101 tr_torrentClose( fLib,tempTor);101 tr_torrentClose(tempTor); 102 102 } 103 103 } -
trunk/macosx/Torrent.m
r1871 r1912 184 184 if (fHandle) 185 185 { 186 tr_torrentClose(f Lib, fHandle);186 tr_torrentClose(fHandle); 187 187 188 188 if (fDownloadFolder)
Note: See TracChangeset
for help on using the changeset viewer.