mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +00: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
|
fi.IsDir = true
|
||||||
} else {
|
} else {
|
||||||
var getLen internal.GetContentLength
|
var getLen internal.GetContentLength
|
||||||
if err := resp.DecodeProp(&getLen, &getMod); err != nil {
|
if err := resp.DecodeProp(&getLen); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user