Fix log path (Crash)

This commit is contained in:
Changhua
2023-05-21 20:29:21 +08:00
parent f94cf0c28f
commit 673ea9c3c0
8 changed files with 85 additions and 33 deletions
+2 -5
View File
@@ -2,14 +2,11 @@
#include <stdlib.h>
#include <string.h>
#include "framework.h"
#include "log.h"
#include "sdk.h"
void help()
{
LOG_INFO("\nUsage: \n启动: wcf.exe start port [debug]\n关闭: wcf.exe stop\nport: 命令端口, 消息端口为命令端口+1\n");
printf("\nUsage: \n启动: wcf.exe start port [debug]\n关闭: wcf.exe stop\nport: 命令端口, 消息端口为命令端口+1\n");
}
int main(int argc, char *argv[])
@@ -34,4 +31,4 @@ int main(int argc, char *argv[])
}
return ret;
}
}