Skip to content

Commit

Permalink
[=] fix global param err
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylsy committed Nov 21, 2024
1 parent 7cffb39 commit 589db63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mini/mini_server_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ ssize_t
xqc_mini_svr_write_socket(const unsigned char *buf, size_t size, const struct sockaddr *peer_addr,
socklen_t peer_addrlen, void *arg)
{
int fd = svr_ctx.current_fd;
ssize_t res = XQC_OK;
xqc_mini_svr_user_conn_t *user_conn = (xqc_mini_svr_user_conn_t *)arg;
int fd = user_conn->ctx->current_fd;

do {
set_sys_errno(0);
Expand Down

0 comments on commit 589db63

Please sign in to comment.