mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Stage 8 of clang compiler warning patches.
Update WORequest+SOGo.m
This commit is contained in:
committed by
Francis Lachapelle
parent
9d31023724
commit
e4fae417b9
@@ -180,14 +180,21 @@
|
||||
cc = [self clientCapabilities];
|
||||
|
||||
b = (
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
|
||||
|| (
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
|| [[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
|
||||
)
|
||||
&& [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
|
||||
);
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
|
||||
)
|
||||
||
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
|
||||
)
|
||||
||
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
|
||||
)
|
||||
);
|
||||
|
||||
return b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user