summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-10 14:35:48 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-10 14:35:48 -0400
commite23e40c11b0cd51cf14156b41c5f784c22baacfd (patch)
tree2c1dbe69e0cdae0e9676a73d291c1733abb42550 /src
parenta013e2dbe99ce306e8f9d1baf18b188ccca96486 (diff)
- comment updates
Diffstat (limited to 'src')
-rw-r--r--src/backend.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend.c b/src/backend.c
index 3a87e46..393cc9d 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -622,6 +622,7 @@ backend_map_config_entry_add_cb(Slapi_Entry *e, void *callback_data)
return 0;
}
+/* Update/initialize parameters stored in the plugin's configuration entry. */
static void
backend_read_params(struct plugin_state *state)
{
@@ -641,13 +642,16 @@ backend_read_params(struct plugin_state *state)
PLUGIN_CONFIGURATION_TCPWRAPNAME_ATTR,
NULL,
};
- /* Try to read our name from the top-level configuration node. */
our_dn = slapi_sdn_new_dn_byval(state->plugin_base);
if (our_dn == NULL) {
slapi_log_error(SLAPI_LOG_PLUGIN,
state->plugin_desc->spd_id,
"backend_read_params: "
- "error parsing \"%s\"\n", state->plugin_base);
+ "error parsing %s%s%s\n",
+ state->plugin_base ? "\"" : "",
+ state->plugin_base ?
+ state->plugin_base : "NULL",
+ state->plugin_base ? "\"" : "");
return;
}
slapi_search_internal_get_entry(our_dn, attrs, &our_entry,