Fix EpollHelloWorld fuzzing
This commit is contained in:
@@ -65,6 +65,7 @@ void test() {
|
|||||||
client = us_socket_context_connect(0, client_context, "hostname", 5000, "localhost", 0, 0);
|
client = us_socket_context_connect(0, client_context, "hostname", 5000, "localhost", 0, 0);
|
||||||
|
|
||||||
us_socket_context_on_connect_error(0, client_context, [](struct us_socket_t *s, int code) {
|
us_socket_context_on_connect_error(0, client_context, [](struct us_socket_t *s, int code) {
|
||||||
|
client = nullptr;
|
||||||
return s;
|
return s;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user