From a17c9ec50270577394b51b671448c4ae6d008659 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 27 Aug 2004 17:54:18 +0000 Subject: [PATCH] Fix init error --- tests/progs/slapd-modify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/progs/slapd-modify.c b/tests/progs/slapd-modify.c index 449d1fc19e..b6398da203 100644 --- a/tests/progs/slapd-modify.c +++ b/tests/progs/slapd-modify.c @@ -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; -- 2.39.5