]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/module.c
error message from be_entry_put tool backend function
[openldap] / servers / slapd / module.c
index da7c460c7570d3b7dd259588fcf496faea5f19bf..0fb5f874ab007e86c9a7e19a5dd6c57e087f3c3c 100644 (file)
@@ -265,12 +265,12 @@ load_extop_module (
        const char *file_name
 )
 {
-       SLAP_EXTOP_MAIN_FN ext_main;
+       SLAP_EXTOP_MAIN_FN *ext_main;
        int (*ext_getoid)(int index, char *oid, int blen);
        char *oid;
        int rc;
 
-       ext_main = (SLAP_EXTOP_MAIN_FN)module_resolve(module, "ext_main");
+       ext_main = (SLAP_EXTOP_MAIN_FN *)module_resolve(module, "ext_main");
        if (ext_main == NULL) {
                return(-1);
        }