mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Fix uninit'd var
This commit is contained in:
parent
1c86c2e877
commit
1ed9fff84c
1 changed files with 1 additions and 0 deletions
|
|
@ -431,6 +431,7 @@ config_get_vals(ConfigTable *cf, ConfigArgs *c)
|
|||
}
|
||||
}
|
||||
if ( cf->arg_type & ARGS_TYPES) {
|
||||
bv.bv_len = 0;
|
||||
bv.bv_val = c->log;
|
||||
switch(cf->arg_type & ARGS_TYPES) {
|
||||
case ARG_INT: bv.bv_len = snprintf(bv.bv_val, sizeof( c->log ), "%d", c->value_int); break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue