diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-30 18:51:42 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-30 18:51:42 -0400 |
| commit | 3e813914dd169339e282cd86cca50dffefef6cd6 (patch) | |
| tree | d67f923d68a5402b08bc6449426325e475a9a5d7 /src/plug-sch.c | |
| parent | e8efda9238041ffcec0acf1e42fc9011342950c6 (diff) | |
- have the plugin call backend initialization directly
Diffstat (limited to 'src/plug-sch.c')
| -rw-r--r-- | src/plug-sch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plug-sch.c b/src/plug-sch.c index b406893..21d792e 100644 --- a/src/plug-sch.c +++ b/src/plug-sch.c @@ -52,10 +52,11 @@ #include <slapi-plugin.h> #endif -#include "wrap.h" +#include "backend.h" #include "map.h" #include "plugin.h" #include "portmap.h" +#include "wrap.h" /* the module initialization function */ static Slapi_PluginDesc @@ -107,6 +108,7 @@ schema_compat_plugin_init(Slapi_PBlock *pb) slapi_pblock_set(pb, SLAPI_PLUGIN_PRIVATE, state); /* Let the backend do its setup. */ map_init(pb, state); + backend_init(pb, state); slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "registered plugin hooks\n"); return 0; |
