mirror of
https://github.com/astaxie/beego.git
synced 2025-07-04 23:20:18 +00:00
fix build problem
This commit is contained in:
@ -137,7 +137,7 @@ func GetInitListner(tcpaddr *net.TCPAddr) (l net.Listener, err error) {
|
||||
countStr := os.Getenv(FDKey)
|
||||
if countStr == "" {
|
||||
return net.ListenTCP("tcp", tcpaddr)
|
||||
} else {
|
||||
}
|
||||
count, err := strconv.Atoi(countStr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@ -148,5 +148,4 @@ func GetInitListner(tcpaddr *net.TCPAddr) (l net.Listener, err error) {
|
||||
return nil, err
|
||||
}
|
||||
return l, nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user