mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 04:21:10 -05:00
ITS#10231 slapadd: check for NULL suffix in error message
This commit is contained in:
parent
f1b921783b
commit
aa31963e44
1 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,8 @@ again:
|
|||
"database #%d (%s) not configured to hold \"%s\"",
|
||||
progname, erec->lineno,
|
||||
dbnum,
|
||||
be->be_suffix[0].bv_val,
|
||||
( be->be_suffix && be->be_suffix[0].bv_val ) ?
|
||||
be->be_suffix[0].bv_val : "(null)",
|
||||
e->e_dn );
|
||||
if ( bd ) {
|
||||
BackendDB *bdtmp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue