1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-09 04:30:29 +08:00

输出格式统一

This commit is contained in:
fumiama
2021-05-19 13:02:47 +08:00
parent 27e89830e1
commit bfc06ff744
3 changed files with 3 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ int send_all(THREADTIMER *timer) {
send_data(timer->accept_fd, timer->data, head_len);
re = sendfile(timer->accept_fd, fileno(fp), &len, file_size) >= 0;
#endif
printf("Send %lld bytes.\n", len);
printf("Send %u bytes.\n", len);
close_dict();
timer->is_open = 0;
}