about summary refs log tree commit diff
path: root/src/network/accept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/accept.c')
-rw-r--r--src/network/accept.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/network/accept.c b/src/network/accept.c
index 46adff5c..f6b75ba4 100644
--- a/src/network/accept.c
+++ b/src/network/accept.c
@@ -4,9 +4,5 @@
 
 int accept(int fd, struct sockaddr *addr, socklen_t *len)
 {
-	int ret;
-	CANCELPT_BEGIN;
-	ret = socketcall(accept, fd, addr, len, 0, 0, 0);
-	CANCELPT_END;
-	return ret;
+	return socketcall_cp(accept, fd, addr, len, 0, 0, 0);
 }