Browse Source

fix compilation

pull/169/head
aler9 5 years ago
parent
commit
19bb58404f
  1. 2
      conf/pathconf.go

2
conf/pathconf.go

@ -116,7 +116,7 @@ func (pconf *PathConf) fillAndCheck(name string) error {
return fmt.Errorf("source redirect must be filled") return fmt.Errorf("source redirect must be filled")
} }
_, err := url.Parse(pconf.SourceRedirect) u, err := url.Parse(pconf.SourceRedirect)
if err != nil { if err != nil {
return fmt.Errorf("'%s' is not a valid rtsp url", pconf.SourceRedirect) return fmt.Errorf("'%s' is not a valid rtsp url", pconf.SourceRedirect)
} }

Loading…
Cancel
Save