Commit 13c66482 authored by aymeric's avatar aymeric
Browse files

change output for vstudio

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 010a0db5
...@@ -256,7 +256,13 @@ static void __ortp_logv_out(OrtpLogLevel lev, const char *fmt, va_list args){ ...@@ -256,7 +256,13 @@ static void __ortp_logv_out(OrtpLogLevel lev, const char *fmt, va_list args){
ortp_fatal("Bad level !"); ortp_fatal("Bad level !");
} }
msg=_strdup_vprintf(fmt,args); msg=_strdup_vprintf(fmt,args);
#ifdef _MSC_VER
fprintf(__log_file,"ortp-%s-%s" ENDLINE,lname,msg); fprintf(__log_file,"ortp-%s-%s" ENDLINE,lname,msg);
ortp_free(msg); ortp_free(msg);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment