Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Update server_common.go
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored Jun 20, 2017
1 parent 04f23c2 commit e7d0c97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/config/server_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ func LoadServerCommonConf(conf ini.File) (cfg *ServerCommonConf, err error) {
}

tmpStr, ok = conf.Get("common", "tcp_mux")
if ok && tmpStr == "false" {
cfg.TcpMux = false
} else {
if ok && tmpStr == "true" {
cfg.TcpMux = true
} else {
cfg.TcpMux = false
}

tmpStr, ok = conf.Get("common", "heartbeat_timeout")
Expand Down

0 comments on commit e7d0c97

Please sign in to comment.