mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Avoid printf(NULL) on Solaris
This commit is contained in:
parent
9e82dee243
commit
acba6fde99
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ int config_check_vals(ConfigTable *Conf, ConfigArgs *c, int check_only ) {
|
|||
}
|
||||
if(Conf->min_args && (c->argc < Conf->min_args)) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ), "<%s> missing <%s> argument",
|
||||
c->argv[0], Conf->what );
|
||||
c->argv[0], Conf->what ? Conf->what : "" );
|
||||
Debug(LDAP_DEBUG_CONFIG|LDAP_DEBUG_NONE, "%s: keyword %s\n", c->log, c->cr_msg, 0 );
|
||||
return(ARG_BAD_CONF);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue