mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-10 21:33:19 +00:00
Fixed a compile error in previous checkin
This commit is contained in:
@@ -235,7 +235,7 @@ func (storage *WebDAVStorage) getProperties(uri string, depth int, properties ..
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
defer readCloser.Close()
|
defer readCloser.Close()
|
||||||
defer io.Copy(ioutil.Discard, response.Body)
|
defer io.Copy(ioutil.Discard, readCloser)
|
||||||
|
|
||||||
object := WebDAVMultiStatus{}
|
object := WebDAVMultiStatus{}
|
||||||
err = xml.NewDecoder(readCloser).Decode(&object)
|
err = xml.NewDecoder(readCloser).Decode(&object)
|
||||||
|
|||||||
Reference in New Issue
Block a user