tree-wide: introduce PIPE_EBADF macro

This commit is contained in:
Yu Watanabe
2022-12-20 11:12:58 +09:00
parent f26c38edfa
commit 19ee48a6c2
47 changed files with 65 additions and 63 deletions
+2 -2
View File
@@ -487,8 +487,8 @@ static int add_connection_socket(Context *context, int fd) {
.context = context,
.server_fd = fd,
.client_fd = -EBADF,
.server_to_client_buffer = { -EBADF, -EBADF },
.client_to_server_buffer = { -EBADF, -EBADF },
.server_to_client_buffer = PIPE_EBADF,
.client_to_server_buffer = PIPE_EBADF,
};
r = set_ensure_put(&context->connections, NULL, c);