about summary refs log tree commit homepage
path: root/accept_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'accept_loop.c')
-rw-r--r--accept_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accept_loop.c b/accept_loop.c
index b324735..1821305 100644
--- a/accept_loop.c
+++ b/accept_loop.c
@@ -48,7 +48,7 @@ MOG_NOINLINE static void accept_error_check(struct mog_accept *ac)
                 assert(0 && "BUG, called accept on bad FD");
         case ENOTSOCK:
         case EOPNOTSUPP:
-                return pthread_exit(NULL);
+                pthread_exit(NULL);
         case_EAGAIN:
                 /*
                  * listen socket could've been inherited from another process,