Skip to content

Commit

Permalink
Merge pull request #58 from JunboLiLB/patch-1
Browse files Browse the repository at this point in the history
Update rtmp.go
  • Loading branch information
gwuhaolin committed Apr 5, 2019
2 parents 972dc0b + 1d7cf10 commit ee5185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/rtmp/rtmp.go
Expand Up @@ -113,7 +113,7 @@ func (s *Server) handleConn(conn *core.Conn) error {
appname, _, _ := connServer.GetInfo()

if ret := configure.CheckAppName(appname); !ret {
err := errors.New("application name=%s is not configured")
err := errors.New(fmt.Sprintf("application name=%s is not configured", appname))
conn.Close()
log.Println("CheckAppName err:", err)
return err
Expand Down

0 comments on commit ee5185c

Please sign in to comment.