summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2012-11-14 17:25:05 -0500
committerNalin Dahyabhai <nalin@dahyabhai.net>2012-11-14 17:25:05 -0500
commit29c65e69466aca800bad544a21ed39b67e02df67 (patch)
tree27119568c4d78bf2602c7f65e7aeb15e3260b636
parentc133905b65d576f3cd68ebfee8732758eddf3db9 (diff)
downloadslapi-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.c4
-rw-r--r--src/back-sch.c4
-rw-r--r--src/plugin.h2
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;