1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Fixed a compile error in previous checkin

This commit is contained in:
Gilbert Chen
2020-09-12 11:39:46 -04:00
parent 403df1fd06
commit 40243fb043

View File

@@ -235,7 +235,7 @@ func (storage *WebDAVStorage) getProperties(uri string, depth int, properties ..
return nil, err
}
defer readCloser.Close()
defer io.Copy(ioutil.Discard, response.Body)
defer io.Copy(ioutil.Discard, readCloser)
object := WebDAVMultiStatus{}
err = xml.NewDecoder(readCloser).Decode(&object)