Skip to content

Commit

Permalink
Update rtmp.go
Browse files Browse the repository at this point in the history
fix log
  • Loading branch information
JunboLi-Ray committed Apr 4, 2019
1 parent 972dc0b commit 1d7cf10
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 1d7cf10

Please sign in to comment.