From d4fa1ce985d6aed0613fd9895bf0b415ff065c68 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 23 Jul 2013 11:24:41 +0200 Subject: [PATCH] main: Use stdbool defines for true and false The coccinelle rules did not match assignments via designators. --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 7d000abc2..1a86a4cb2 100644 --- a/src/main.c +++ b/src/main.c @@ -73,7 +73,7 @@ static struct { char **tethering_technologies; bool persistent_tethering_mode; } connman_settings = { - .bg_scan = TRUE, + .bg_scan = true, .pref_timeservers = NULL, .auto_connect = NULL, .preferred_techs = NULL, @@ -81,10 +81,10 @@ static struct { .timeout_inputreq = DEFAULT_INPUT_REQUEST_TIMEOUT, .timeout_browserlaunch = DEFAULT_BROWSER_LAUNCH_TIMEOUT, .blacklisted_interfaces = NULL, - .allow_hostname_updates = TRUE, - .single_tech = FALSE, + .allow_hostname_updates = true, + .single_tech = false, .tethering_technologies = NULL, - .persistent_tethering_mode = FALSE, + .persistent_tethering_mode = false, }; #define CONF_BG_SCAN "BackgroundScanning"