Okay fix fuzzing

This commit is contained in:
Alex Hultman
2021-03-01 12:34:53 +01:00
parent 013809f09a
commit 5cd2d47c5d
+2 -2
View File
@@ -109,7 +109,7 @@ void test() {
.drain = [](auto *ws) { .drain = [](auto *ws) {
/* Check getBufferedAmount here */ /* Check getBufferedAmount here */
}, },
.ping = [](auto *ws) { .ping = [](auto *ws, std::string_view) {
/* Here we test send and end while uncorked, by having them send from deferred */ /* Here we test send and end while uncorked, by having them send from deferred */
PerSocketData *psd = (PerSocketData *) ws->getUserData(); PerSocketData *psd = (PerSocketData *) ws->getUserData();
@@ -121,7 +121,7 @@ void test() {
} }
}); });
}, },
.pong = [](auto *ws) { .pong = [](auto *ws, std::string_view) {
}, },
.close = [](auto *ws, int code, std::string_view message) { .close = [](auto *ws, int code, std::string_view message) {