1687ec85 by sun shengxiang

fix build problem

1 parent 86ddfe53
......@@ -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
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!