fix compilation

This commit is contained in:
aler9 2020-10-30 12:42:50 +01:00
parent 0c1b13fa82
commit 19bb58404f
1 changed files with 1 additions and 1 deletions

View File

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