added about to exit

This commit is contained in:
wangyu
2017-08-04 23:08:45 +08:00
parent 343c7b2a29
commit 54c3f20e32
4 changed files with 31 additions and 17 deletions

View File

@@ -40,7 +40,9 @@ void log0(const char * file,const char * function,int line,int level,const char*
fflush(stdout);
if(log_level==log_fatal)
myexit(-1);
{
about_to_exit=1;
}
}
void log_bare(int level,const char* str, ...)