mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 20:08:43 +00:00
die nslog!
This commit is contained in:
@@ -490,7 +490,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void) download: (NSURLDownload *) download decideDestinationWithSuggestedFilename: (NSString *) suggestedName
|
- (void) download: (NSURLDownload *) download decideDestinationWithSuggestedFilename: (NSString *) suggestedName
|
||||||
{NSLog(suggestedName);
|
{
|
||||||
if ([[suggestedName pathExtension] caseInsensitiveCompare: @"torrent"] != NSOrderedSame)
|
if ([[suggestedName pathExtension] caseInsensitiveCompare: @"torrent"] != NSOrderedSame)
|
||||||
{
|
{
|
||||||
[download cancel];
|
[download cancel];
|
||||||
|
|||||||
Reference in New Issue
Block a user