This commit is contained in:
Christoph Polcin 2014-10-23 11:28:46 +02:00
parent d002be5074
commit 46bd8fb68a
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ type response struct {
Props []props `xml:"DAV: propstat"`
}
func getProps(r *response, status string) (*props) {
func getProps(r *response, status string) *props {
for _, prop := range r.Props {
if strings.Index(prop.Status, status) != -1 {
return &prop