mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-30 08:00:27 +08:00
fix split
This commit is contained in:
7
server.c
7
server.c
@@ -464,7 +464,12 @@ static int s1_get(threadtimer_t *timer) { //get kanban
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return close_file_and_send(timer, "null", 4);
|
int r = close_file_and_send(timer, "null", 4);
|
||||||
|
if(strstr(timer->data, "quit") == timer->data + timer->numbytes - 4) {
|
||||||
|
puts("Found last cmd is quit.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int s2_set(threadtimer_t *timer) {
|
static int s2_set(threadtimer_t *timer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user