From c6f778ff771a2bb245728a9ea6f33bc2f2186d0b Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 21 Nov 2007 17:44:57 -0500 Subject: - start working on separating out stream clients and dgram clients --- src/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index e8b0e70..e291222 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -41,6 +41,7 @@ struct plugin_state { PLArenaPool *arena; pthread_t tid; Slapi_ComponentId *plugin_identity; + Slapi_PluginDesc *plugin_desc; int resvport; int n_listeners; int listenfd[4]; @@ -772,8 +773,9 @@ nis_plugin_init(Slapi_PBlock *pb) slapi_pblock_set(pb, SLAPI_PLUGIN_START_FN, &plugin_start); slapi_pblock_set(pb, SLAPI_PLUGIN_CLOSE_FN, &plugin_close); slapi_pblock_get(pb, SLAPI_PLUGIN_IDENTITY, &state->plugin_identity); + state->plugin_desc = &plugin_description; slapi_pblock_set(pb, SLAPI_PLUGIN_PRIVATE, state); - slapi_log_error(SLAPI_LOG_PLUGIN, plugin_description.spd_id, + slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc.spd_id, "registered plugin hooks\n"); return 0; } -- cgit