mirror of https://github.com/tidwall/evio.git
fix scheme
This commit is contained in:
parent
1854813bd9
commit
1eb8a15a42
|
@ -169,7 +169,7 @@ func main() {
|
||||||
c.is.End(data)
|
c.is.End(data)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
addrs := []string{fmt.Sprintf("tcp-net://:%d", port)}
|
addrs := []string{fmt.Sprintf("tcp://:%d", port)}
|
||||||
if unixsocket != "" {
|
if unixsocket != "" {
|
||||||
addrs = append(addrs, fmt.Sprintf("unix://%s", unixsocket))
|
addrs = append(addrs, fmt.Sprintf("unix://%s", unixsocket))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue