mirror of
https://github.com/1f349/go-webdav.git
synced 2025-03-31 09:15:06 +01:00
webdav: fix trailing getMod in client
This commit is contained in:
parent
83272e2195
commit
4cee748898
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user