mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-22 06:59:52 -05:00
opt: reduce debug log
This commit is contained in:
parent
af51e86b32
commit
cc74565a9c
2 changed files with 2 additions and 2 deletions
2
maomao.c
2
maomao.c
|
|
@ -4927,7 +4927,7 @@ void signalhandler(int signalnumber) {
|
|||
}
|
||||
|
||||
// 打开日志文件
|
||||
FILE *fp = fopen(filename, "a");
|
||||
FILE *fp = fopen(filename, "w");
|
||||
if (!fp) {
|
||||
// 如果无法打开日志文件,则不处理
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue