mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-29 23:51:09 +08:00
优化代码结构
This commit is contained in:
2
server.c
2
server.c
@@ -321,7 +321,7 @@ static FILE *open_file(char* file_path, int lock_type, char* mode) {
|
|||||||
pthread_rwlock_unlock(&mu);
|
pthread_rwlock_unlock(&mu);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
printf("Open file in mode %d\n", mode);
|
printf("Open file in mode %s\n", mode);
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user