dav/main.c

changeset 165
b66bed169fc3
parent 154
3cfb4670d9e6
child 178
e137883e620f
--- a/dav/main.c	Wed Oct 14 16:07:54 2015 +0200
+++ b/dav/main.c	Thu Oct 15 11:05:27 2015 +0200
@@ -442,7 +442,7 @@
     uint64_t size = res->contentlength;
     
     if(res->iscollection) {
-        snprintf(str, 16, "");
+        str[0] = '\0'; // currently no information for collections
     } else if(size < 0x400) {
         snprintf(str, 16, "%" PRIu64 " bytes", size);
     } else if(size < 0x100000) {

mercurial