1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-12 06:00:31 +08:00

edit README

This commit is contained in:
源文雨
2022-04-17 20:05:40 +08:00
parent 1855c82551
commit 09107be7f0
2 changed files with 18 additions and 112 deletions

View File

@@ -107,12 +107,7 @@ void getMessage(void *p) {
#ifdef DEBUG
printf("[normal] Get %u bytes packet with data: %s\n", offset, cp->data);
#endif
switch(cp->cmd) {
case CMDACK:
printf("recv ack: %s\n", cp->data);
break;
default: break;
}
printf("[%d] recv ack: %s\n", (int)cp->cmd, cp->data);
}
if(offset > c) {
offset -= c;