Skip to content

Commit f11be29

Browse files
committed
We need that as well for now
1 parent 726cedf commit f11be29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/io_uring/io_socket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ int us_socket_write(int ssl, struct us_socket_t *s, const char *data, int length
101101

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

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

109109

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

0 commit comments

Comments
 (0)