iOS web browser with a focus on security and privacy

use 'if DEBUG' instead of just ifdef, incase it's somehow DEBUG=0

+3 -3
+1 -1
Endless/Endless-Prefix.pch
··· 8 8 #ifndef Endless_Endless_Prefix_pch 9 9 #define Endless_Endless_Prefix_pch 10 10 11 - #ifdef DEBUG 11 + #if DEBUG 12 12 13 13 /* NSLog() all network activity and boring stuff */ 14 14 #define TRACE
+1 -1
Endless/HostSettings.h
··· 39 39 + (HostSettings *)forHost:(NSString *)host; 40 40 + (HostSettings *)settingsOrDefaultsForHost:(NSString *)host; 41 41 + (BOOL)removeSettingsForHost:(NSString *)host; 42 - #ifdef DEBUG 42 + #if DEBUG 43 43 + (void)overrideHosts:(NSMutableDictionary *)hosts; 44 44 #endif 45 45
+1 -1
Endless/HostSettings.m
··· 116 116 return [self forHost:HOST_SETTINGS_DEFAULT]; 117 117 } 118 118 119 - #ifdef DEBUG 119 + #if DEBUG 120 120 /* just for testing */ 121 121 + (void)overrideHosts:(NSMutableDictionary *)hosts 122 122 {