struct berval reqdata = {0, NULL};
ber_tag_t tag;
ber_len_t len;
- struct extop_list *ext;
+ struct extop_list *ext = NULL;
const char *text;
BerVarray refs;
char *rspoid;
goto done;
}
- if( !(ext = find_extop(supp_ext_list, &reqoid))
-#ifdef LDAP_SLAPI
- && !(funcAddr)
-#endif
- ) {
#ifdef LDAP_SLAPI
- /* Netscape extended operation */
- getPluginFunc( &reqoid, &funcAddr );
+ getPluginFunc( &reqoid, &funcAddr ); /* NS-SLAPI extended operation */
+ if( !funcAddr && !(ext = find_extop(supp_ext_list, &reqoid )))
+#else
+ if( !(ext = find_extop(supp_ext_list, &reqoid )))
#endif
-
+ {
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, ERR,
"do_extended: conn %d unsupported operation \"%s\"\n",