Final fix for 246469 (I hope). Fixed a mind-bogglingly stupid typo which Xcode let compile for some reason.

This commit is contained in:
Andy Matuschak committed 2008-07-23 12:36:59 -07:00
1 parent 962a110b16
commit 898216ac9f
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@
{
// We don't want the download system to extract our gzips.
// Note that we use a substring matching here instead of direct comparison because the docs say "application/gzip" but the system *uses* "application/x-gzip". This is a documentation bug.
return ([encodingType rangeOfString:@"gzip"].origin == NSNotFound);
return ([encodingType rangeOfString:@"gzip"].location == NSNotFound);
}
- (void)extractUpdate