Revision: 7633
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7633&view=rev
Author:   hofman
Date:     2012-01-24 11:16:26 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
set status if download at end

Modified Paths:
--------------
    trunk/SKDownload.m

Modified: trunk/SKDownload.m
===================================================================
--- trunk/SKDownload.m  2012-01-23 18:13:46 UTC (rev 7632)
+++ trunk/SKDownload.m  2012-01-24 11:16:26 UTC (rev 7633)
@@ -380,10 +380,10 @@
 }
 
 - (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error {
-    [self setStatus:SKDownloadStatusFailed];
     if (filePath)
         [[NSFileManager defaultManager] removeItemAtPath:filePath error:NULL];
     [self setFilePath:nil];
+    [self setStatus:SKDownloadStatusFailed];
     [delegate downloadDidEnd:self];
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to