Skip to content

Commit

Permalink
main: Use stdbool defines for true and false
Browse files Browse the repository at this point in the history
The coccinelle rules did not match assignments via designators.
  • Loading branch information
Daniel Wagner committed Jul 23, 2013
1 parent fbf9f8d commit d4fa1ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.c
Expand Up @@ -73,18 +73,18 @@ 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,
.fallback_nameservers = NULL,
.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"
Expand Down

0 comments on commit d4fa1ce

Please sign in to comment.