LDAP_LOG(( "backend", LDAP_LEVEL_ENTRY, "meta_back_add: %s\n",
e->e_dn ));
#else /* !NEW_LOGGING */
- Debug(LDAP_DEBUG_ARGS, "==> meta_back_add: %s\n", e->e_dn, 0, 0);
+ Debug(LDAP_DEBUG_ARGS, "==> meta_back_add: %s\n%s%s", e->e_dn, "", "");
#endif /* !NEW_LOGGING */
/*
LDAPMessage *result, *e;
char *gattr[ 2 ];
LDAP *ld;
- char *me_ndn;
*vals = NULL;
if ( target != NULL && strcmp( target->e_ndn, e_ndn ) == 0 ) {
}
}
-finish:
+finish:;
/*
* Rewrite the matched portion of the search base, if required
send_ldap_result( conn, op, rres, mmatch, err, NULL, NULL );
-cleanup:
+cleanup:;
if ( match != NULL ) {
if ( mmatch != match ) {
free( mmatch );
/* URI of server to query */
if ( strcasecmp( argv[ 0 ], "uri" ) == 0 ) {
- int j, i = li->ntargets;
+ int i = li->ntargets;
+#if 0
+ int j;
+#endif /* uncomment if uri MUST be a branch of suffix */
LDAPURLDesc *ludp;
char *last;
ldap_msgfree( result );
}
-cleanup:
+cleanup:;
if ( ld != NULL ) {
ldap_unbind( ld );
}
*/
lsc[ 0 ]->candidate = META_NOT_CANDIDATE;
continue;
- // rc = meta_back_op_result(lc, op);
- // goto finish;
+ /*
+ rc = meta_back_op_result(lc, op);
+ goto finish;
+ */
}
}
send_search_result( conn, op, sres,
mmatch, err, NULL, NULL, count );
-finish:
+finish:;
if ( match ) {
if ( mmatch != match ) {
free( mmatch );