mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Fix init error
This commit is contained in:
parent
410ca3d1a9
commit
a17c9ec502
1 changed files with 2 additions and 2 deletions
|
|
@ -131,12 +131,12 @@ do_modify( char *uri, char *host, int port, char *manager,
|
|||
int i;
|
||||
pid_t pid;
|
||||
|
||||
pid = getpid();
|
||||
|
||||
struct ldapmod mod;
|
||||
struct ldapmod *mods[2];
|
||||
char *values[2] = { value, NULL };
|
||||
|
||||
pid = getpid();
|
||||
|
||||
mod.mod_op = LDAP_MOD_ADD;
|
||||
mod.mod_type = attr;
|
||||
mod.mod_values = values;
|
||||
|
|
|
|||
Loading…
Reference in a new issue