1.添加对Ctrl+C信号捕获并释放资源

2.修改valgrind提示错误
This commit is contained in:
fengweihao
2018-07-12 10:56:13 +08:00
parent 84624425a9
commit 7fa5f58be6
8 changed files with 102 additions and 47 deletions

View File

@@ -39,7 +39,9 @@ typedef struct {
} libevent_thread;
extern int cert_session_init();
int cert_session_init();
void sigproc(int __attribute__((__unused__))sig);
#endif