--- a/dav/tar.c Sat Jun 02 16:25:01 2018 +0200
+++ b/dav/tar.c Sun Jun 03 12:02:31 2018 +0200
@@ -258,7 +258,7 @@
}
// get size
- if(h.size[11] != ' ') {
+ if(!(h.size[11] == ' ' || h.size[11] == 0)) {
return NULL;
}
long long int size = strtoll(h.size, NULL, 8);