Commit ad3888b2 authored by Florian Fischer's avatar Florian Fischer
Browse files

modernize cpp echo server

parent f6559524
...@@ -28,6 +28,7 @@ void client_func(void* arg) { ...@@ -28,6 +28,7 @@ void client_func(void* arg) {
int client_fd = *(int*)arg; int client_fd = *(int*)arg;
free(arg); free(arg);
// NOLINTNEXTLINE(modernize-avoid-c-arrays)
char buf[BUF_MAX]; char buf[BUF_MAX];
for (;;) { for (;;) {
#ifdef USE_ASYNC_IO #ifdef USE_ASYNC_IO
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment