fix memory initialization for WebdavProperty in webdav tests webdav

Sun, 01 May 2022 10:56:36 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 01 May 2022 10:56:36 +0200
branch
webdav
changeset 320
a40f7af1b670
parent 319
a9b9344875aa
child 321
9bf375c4b5bd

fix memory initialization for WebdavProperty in webdav tests

src/server/test/webdav.c file | annotate | diff | comparison | revisions
--- a/src/server/test/webdav.c	Sun May 01 10:48:20 2022 +0200
+++ b/src/server/test/webdav.c	Sun May 01 10:56:36 2022 +0200
@@ -1257,7 +1257,7 @@
         p[i].name = names[i];
         p[i].lang = NULL;
         p[i].value.node = NULL;
-        p[1].vtype = 0;
+        p[i].vtype = 0;
     }
     
     UCX_TEST_BEGIN;
@@ -1304,7 +1304,7 @@
         p[i].name = names[i];
         p[i].lang = NULL;
         p[i].value.node = NULL;
-        p[1].vtype = 0;
+        p[i].vtype = 0;
     }
     
     UCX_TEST_BEGIN;

mercurial