GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Auto-port 4.1: Epoll: Cleanup code to always return negative value on… · netty/netty@9afacfe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • transport-native-epoll/src/main/c
    • netty_epoll_native.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎transport-native-epoll/src/main/c/netty_epoll_native.c‎

Copy file name to clipboardExpand all lines: transport-native-epoll/src/main/c/netty_epoll_native.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static jint netty_epoll_native_epollCreate(JNIEnv* env, jclass clazz) {
243243
int err = errno;
244244
close(efd);
245245
netty_unix_errors_throwChannelExceptionErrorNo(env, "fcntl() failed: ", err);
246-
return err;
246+
return -err;
247247
}
248248
}
249249
return efd;

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.