small debug changed
This commit is contained in:
@@ -78,6 +78,7 @@ void dwr(int level, const char *fmt, ... )
|
||||
}
|
||||
if(debug_logfile) {
|
||||
FILE *file = fopen(debug_logfile,"a");
|
||||
fprintf(file, "%s [tid=%7d] ", timestring, tid);
|
||||
vfprintf(file, fmt, ap);
|
||||
fclose(file);
|
||||
va_end(ap);
|
||||
|
||||
@@ -527,7 +527,7 @@ char *api_netpath;
|
||||
if(!check_intercept_enabled_for_thread()) {
|
||||
return realclose(fd);
|
||||
}
|
||||
zt_close(fd);
|
||||
return zt_close(fd);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
@@ -550,7 +550,6 @@ char *api_netpath;
|
||||
return zt_getsockname(sockfd, addr, addrlen);
|
||||
}
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------ syscall() -------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user