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