Fri, 07 Dec 2018 11:17:29 +0100
fix: don't detect end of tar file as broken content
--- a/dav/tar.c Fri Nov 30 18:06:48 2018 +0100 +++ b/dav/tar.c Fri Dec 07 11:17:29 2018 +0100 @@ -232,6 +232,9 @@ } if(memcmp(h.magic, "ustar\0", 6)) { + if(!memcmp(h.magic, "\0\0\0\0", 4)) { + tar->error = TAR_OK; + } return NULL; } if(memcmp(h.version, "00", 2)) {