Revision: 5085
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5085&view=rev
Author:   hofman
Date:     2008-12-23 11:23:34 +0000 (Tue, 23 Dec 2008)

Log Message:
-----------
use constant

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

Modified: trunk/SKDownload.m
===================================================================
--- trunk/SKDownload.m  2008-12-22 12:48:51 UTC (rev 5084)
+++ trunk/SKDownload.m  2008-12-23 11:23:34 UTC (rev 5085)
@@ -76,7 +76,7 @@
         URLDownload = nil;
         filePath = nil;
         fileIcon = nil;
-        expectedContentLength = -1;
+        expectedContentLength = NSURLResponseUnknownLength;
         receivedContentLength = 0;
         progressIndicator = nil;
         status = SKDownloadStatusUndefined;
@@ -242,7 +242,7 @@
         return;
     }
     
-    [self setExpectedContentLength:-1];
+    [self setExpectedContentLength:NSURLResponseUnknownLength];
     [self setReceivedContentLength:0];
     URLDownload = [[NSURLDownload alloc] initWithRequest:[NSURLRequest 
requestWithURL:URL] delegate:self];
     [URLDownload setDeletesFileUponFailure:NO];


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

------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to