]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9898 tests: fix slapd-addel non-std syntax
authorHoward Chu <hyc@openldap.org>
Tue, 9 Aug 2022 17:11:30 +0000 (18:11 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 24 Aug 2022 18:20:15 +0000 (18:20 +0000)
Broken in f5bef58cae5e16d56c48b1efd55249fa7ce54cc6

tests/progs/slapd-addel.c

index ca007ce3f7c2909263d4fd4cb44b3988bbf36827..f67c1fbde15cd85e3b7ea185f3168e0d4e78e8e1 100644 (file)
@@ -65,9 +65,9 @@ main( int argc, char **argv )
        char *filename = NULL, *buf = NULL;
        int             friendly = 0;
        struct LDIFFP *fp;
-       LDIFRecord      record = {};
+       LDIFRecord      record = {0};
        struct tester_conn_args *config;
-       struct berval bv = {};
+       struct berval bv = {0};
        unsigned long lineno = 0;
 
        config = tester_init( "slapd-addel", TESTER_ADDEL );