mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-30 08:00:27 +08:00
删除冗余变量
This commit is contained in:
1
server.c
1
server.c
@@ -120,7 +120,6 @@ int send_data(int accept_fd, char *data, size_t length) {
|
|||||||
int send_all(char* file_path, THREADTIMER *timer) {
|
int send_all(char* file_path, THREADTIMER *timer) {
|
||||||
int re = 1;
|
int re = 1;
|
||||||
FILE *fp = openFile(file_path, LOCK_SH, "rb");
|
FILE *fp = openFile(file_path, LOCK_SH, "rb");
|
||||||
size_t numbytes;
|
|
||||||
if(fp) {
|
if(fp) {
|
||||||
timer->fp = fp;
|
timer->fp = fp;
|
||||||
timer->is_open = 1;
|
timer->is_open = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user