misc cleanup

This commit is contained in:
Kurt Zeilenga 2000-09-29 02:50:34 +00:00
parent cd9b8b1fe9
commit ce382475f0
4 changed files with 8 additions and 8 deletions

View file

@ -50,7 +50,7 @@ ldbm_back_extended(
}
}
*text = ch_strdup("not supported within naming context");
*text = "not supported within naming context";
return LDAP_OPERATIONS_ERROR;
}

View file

@ -191,8 +191,8 @@ int backend_startup(Backend *be)
if(be != NULL) {
/* startup a specific backend database */
Debug( LDAP_DEBUG_TRACE,
"backend_startup: starting database\n",
0, 0, 0 );
"backend_startup: starting \"%s\"\n",
be->be_suffix[0], 0, 0 );
if ( be->bd_info->bi_open ) {
rc = be->bd_info->bi_open( be->bd_info );

View file

@ -218,11 +218,11 @@ dn_parent(
}
if( *dn == '\0' ) {
return( NULL );
return NULL;
}
if ( be != NULL && be_issuffix( be, dn ) ) {
return( NULL );
return NULL;
}
/*
@ -246,12 +246,12 @@ dn_parent(
if ( *s == '"' ) {
inquote = 1;
} else if ( DN_SEPARATOR( *s ) ) {
return( ch_strdup( &s[1] ) );
return ch_strdup( &s[1] );
}
}
}
return( ch_strdup( "" ) );
return ch_strdup( "" );
}
char * dn_rdn(

View file

@ -905,7 +905,7 @@ struct slap_conn;
struct slap_op;
typedef int (*SLAP_EXTENDED_FN) LDAP_P((
Backend *be,
BackendDB *be,
struct slap_conn *conn,
struct slap_op *op,
const char *reqoid,