diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-11-14 17:25:05 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-11-14 17:25:05 -0500 |
commit | 29c65e69466aca800bad544a21ed39b67e02df67 (patch) | |
tree | 27119568c4d78bf2602c7f65e7aeb15e3260b636 | |
parent | c133905b65d576f3cd68ebfee8732758eddf3db9 (diff) | |
download | slapi-nis-29c65e69466aca800bad544a21ed39b67e02df67.tar.gz slapi-nis-29c65e69466aca800bad544a21ed39b67e02df67.tar.xz slapi-nis-29c65e69466aca800bad544a21ed39b67e02df67.zip |
fixup log messages and a signed boolean
- add missing newlines at the end of a couple of messages
- make that one bit that we compare to zero unsigned instead of signed
-rw-r--r-- | src/back-nis.c | 4 | ||||
-rw-r--r-- | src/back-sch.c | 4 | ||||
-rw-r--r-- | src/plugin.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/back-nis.c b/src/back-nis.c index 40df624..df5df3f 100644 --- a/src/back-nis.c +++ b/src/back-nis.c @@ -815,11 +815,11 @@ backend_update_params(Slapi_PBlock *pb, struct plugin_state *state) DEFAULT_PLUGIN_USE_BETXNS); if (state->use_be_txns && !use_be_txns) { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, - "turning off betxn support"); + "turning off betxn support\n"); } if (!state->use_be_txns && use_be_txns) { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, - "turning on betxn support"); + "turning on betxn support\n"); } state->use_be_txns = use_be_txns; slapi_entry_free(our_entry); diff --git a/src/back-sch.c b/src/back-sch.c index fede75d..142bdb9 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -869,11 +869,11 @@ backend_update_params(Slapi_PBlock *pb, struct plugin_state *state) DEFAULT_PLUGIN_USE_BETXNS); if (state->use_be_txns && !use_be_txns) { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, - "turning off betxn support"); + "turning off betxn support\n"); } if (!state->use_be_txns && use_be_txns) { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, - "turning on betxn support"); + "turning on betxn support\n"); } state->use_be_txns = use_be_txns; slapi_entry_free(our_entry); diff --git a/src/plugin.h b/src/plugin.h index 4d62cf3..b54e2ad 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -32,7 +32,7 @@ struct plugin_state { char *plugin_base; Slapi_ComponentId *plugin_identity; Slapi_PluginDesc *plugin_desc; - int use_be_txns: 1; + unsigned int use_be_txns: 1; /* NIS-specific data. */ struct wrapped_thread *tid; |