Revision: 7343 http://skim-app.svn.sourceforge.net/skim-app/?rev=7343&view=rev Author: hofman Date: 2011-07-10 00:40:17 +0000 (Sun, 10 Jul 2011)
Log Message: ----------- fix download status codes Modified Paths: -------------- trunk/SKDownload.m Modified: trunk/SKDownload.m =================================================================== --- trunk/SKDownload.m 2011-07-10 00:33:54 UTC (rev 7342) +++ trunk/SKDownload.m 2011-07-10 00:40:17 UTC (rev 7343) @@ -357,14 +357,14 @@ } } -- (void)downloadDidFinish:(NSURLDownload *)theDownload { +- (void)downloadDidFinish:(NSURLDownload *)theDownload {log_method(); if (expectedContentLength > 0) [progressIndicator setDoubleValue:(double)expectedContentLength]; [self setStatus:SKDownloadStatusFinished]; [delegate downloadDidEnd:self]; } -- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error { +- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error {log_method(); [self setStatus:SKDownloadStatusFailed]; if (filePath) [[NSFileManager defaultManager] removeItemAtPath:filePath error:NULL]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit