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