libidav/webdav.c

changeset 47
fbbbeed4ba8f
parent 46
0542668d0f26
child 48
08d5544c92fb
--- a/libidav/webdav.c	Fri Jun 13 13:52:59 2014 +0200
+++ b/libidav/webdav.c	Sun Jun 15 16:07:11 2014 +0200
@@ -290,7 +290,7 @@
 
 UcxList* parse_properties_string(DavContext *context, sstr_t str) {
     UcxList *proplist = NULL;
-    size_t nprops;
+    size_t nprops = 0;
     sstr_t *props = sstrsplit(str, S(","), &nprops);
     for(int i=0;i<nprops;i++) {
         sstr_t s = props[i];

mercurial