1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-05 00:10:29 +08:00

规范化代码

This commit is contained in:
fumiama
2021-05-17 20:27:07 +08:00
parent fa8b2b5fcc
commit 0dbcb77b11
2 changed files with 2 additions and 2 deletions

View File

@@ -490,7 +490,7 @@ int main(int argc, char *argv[]) {
fp = fopen(argv[as_daemon?6:5], "rb+");
if(fp) {
SIMPLE_PB* spb = get_pb(fp);
cfg = spb->target;
cfg = (CONFIG*)spb->target;
fclose(fp);
if(bind_server(port, times)) if(listen_socket(times)) accept_client();
} else printf("Error opening config file: %s\n", argv[as_daemon?6:5]);