mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-08 18:10:24 +08:00
指针未解引用
This commit is contained in:
2
server.c
2
server.c
@@ -328,7 +328,7 @@ void handle_accept(void *p) {
|
||||
}
|
||||
printf("Break: recv %zd bytes\n", timer_pointer_of(p)->numbytes);
|
||||
} else puts("Error allocating buffer");
|
||||
timer_pointer_of(p)->thread = 0;
|
||||
*(timer_pointer_of(p)->thread) = 0;
|
||||
kill_thread(timer_pointer_of(p));
|
||||
} else puts("Error accepting client");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user