webdav: fix trailing getMod in client
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user