mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
misc cleanup
This commit is contained in:
parent
cd9b8b1fe9
commit
ce382475f0
4 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue