DERO-HE STARGATE Testnet Release34
This commit is contained in:
parent
9300ef9b14
commit
8ab876171c
@ -20,4 +20,4 @@ import "github.com/blang/semver/v4"
|
||||
|
||||
// right now it has to be manually changed
|
||||
// do we need to include git commitsha??
|
||||
var Version = semver.MustParse("3.4.94-1.DEROHE.STARGATE+25112021")
|
||||
var Version = semver.MustParse("3.4.95-1.DEROHE.STARGATE+25112021")
|
||||
|
8
vendor/github.com/lesismal/nbio/poller_epoll.go
generated
vendored
8
vendor/github.com/lesismal/nbio/poller_epoll.go
generated
vendored
@ -224,8 +224,8 @@ func (p *poller) stop() {
|
||||
}
|
||||
|
||||
func (p *poller) addRead(fd int) error {
|
||||
switch p.g.epollMod {
|
||||
case EPOLLET:
|
||||
switch int64(p.g.epollMod) {
|
||||
case int64(EPOLLET):
|
||||
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadET})
|
||||
default:
|
||||
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsRead})
|
||||
@ -237,8 +237,8 @@ func (p *poller) addRead(fd int) error {
|
||||
// }
|
||||
|
||||
func (p *poller) modWrite(fd int) error {
|
||||
switch p.g.epollMod {
|
||||
case EPOLLET:
|
||||
switch int64(p.g.epollMod) {
|
||||
case int64(EPOLLET):
|
||||
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWriteET})
|
||||
default:
|
||||
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_MOD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWrite})
|
||||
|
Loading…
Reference in New Issue
Block a user