1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-18 16:30:25 +08:00

fix client

This commit is contained in:
源文雨
2023-11-08 18:32:43 +09:00
parent 77b410351c
commit 2df02e6032

View File

@@ -91,7 +91,7 @@ static int s3_set_data(tcpool_thread_timer_t *timer);
printf("<--- pass in %zd --->\n", (p)->numbytes); \ printf("<--- pass in %zd --->\n", (p)->numbytes); \
} }
static void accept_action(tcpool_thread_timer_t *p) { static void accept_action(tcpool_thread_timer_t *p) {
if(send_data(p->accept_fd, "Welcome to simple kanban server.", 33) <= 0) { if(send_data(p->accept_fd, "Welcome to simple kanban server. get", 36) <= 0) {
puts("Send banner to new client failed"); puts("Send banner to new client failed");
return; return;
} }