Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: fusl/src/network/connect.c

Issue 1730723002: [fusl] Remove socketcall abstraction (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/network/bind.c ('k') | fusl/src/network/getpeername.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/connect.c
diff --git a/fusl/src/network/connect.c b/fusl/src/network/connect.c
index 170a12037d05c1a0e7ebcc787f9377b2d13070d6..9398362fd6380f6a319cc8bf7b3e362aa31a6955 100644
--- a/fusl/src/network/connect.c
+++ b/fusl/src/network/connect.c
@@ -3,5 +3,5 @@
#include "libc.h"
int connect(int fd, const struct sockaddr* addr, socklen_t len) {
- return socketcall_cp(connect, fd, addr, len, 0, 0, 0);
+ return syscall_cp(SYS_connect, fd, addr, len, 0, 0, 0);
}
« no previous file with comments | « fusl/src/network/bind.c ('k') | fusl/src/network/getpeername.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698