Fix init error

This commit is contained in:
Kurt Zeilenga 2004-08-27 17:54:18 +00:00
parent 410ca3d1a9
commit a17c9ec502

View file

@ -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;