This commit is contained in:
switch 2018-06-12 04:14:43 +08:00 committed by GitHub
parent 2dd3f8e878
commit 42632795c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
n2n.c
View File

@ -139,7 +139,7 @@ void traceEvent(int eventTraceLevel, char* file, int line, char * format, ...) {
eventTraceLevel = ANDROID_LOG_INFO; eventTraceLevel = ANDROID_LOG_INFO;
break; break;
} }
__android_log_write(eventTraceLevel, "n2n", buf); __android_log_write(eventTraceLevel, "n2n", out_buf);
#else #else
printf("%s\n", out_buf); printf("%s\n", out_buf);
fflush(stdout); fflush(stdout);