webdav: fix trailing getMod in client

This commit is contained in:
Simon Ser 2020-01-21 23:14:57 +01:00
parent 83272e2195
commit 4cee748898
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -61,7 +61,7 @@ func fileInfoFromResponse(resp *internal.Response) (*FileInfo, error) {
fi.IsDir = true
} else {
var getLen internal.GetContentLength
if err := resp.DecodeProp(&getLen, &getMod); err != nil {
if err := resp.DecodeProp(&getLen); err != nil {
return nil, err
}