Skip to content

Commit

Permalink
We need that as well for now
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed May 12, 2023
1 parent 726cedf commit f11be29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io_uring/io_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ int us_socket_write(int ssl, struct us_socket_t *s, const char *data, int length

//printf("writing on socket now\n");

//if (data != s->sendBuf) {
if (data != s->sendBuf) {
//printf("WHAT THE HECK!\n");
memcpy(s->sendBuf, data, length);
//}
}


struct io_uring_sqe *sqe = io_uring_get_sqe(&s->context->loop->ring);
Expand Down

0 comments on commit f11be29

Please sign in to comment.