From 898216ac9fe21174af06d42876283d06183d62ff Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 23 Jul 2008 12:36:59 -0700 Subject: [PATCH] Final fix for 246469 (I hope). Fixed a mind-bogglingly stupid typo which Xcode let compile for some reason. --- SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 74b8bca9..c6fe326c 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -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