From 49399c27f836fade39d227111f861eb08d5dd66c Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 20 Nov 2006 01:44:21 +0000 Subject: [PATCH] die nslog! --- macosx/Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 45c8721f3..d34e814b9 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -490,7 +490,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy } - (void) download: (NSURLDownload *) download decideDestinationWithSuggestedFilename: (NSString *) suggestedName -{NSLog(suggestedName); +{ if ([[suggestedName pathExtension] caseInsensitiveCompare: @"torrent"] != NSOrderedSame) { [download cancel];