From a99b2f23919a4191737f378d51d55be2502bcbe1 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 1 Dec 2007 09:10:07 +0000 Subject: Changed logging function signature git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1606 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/symbian_ua/ua.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pjsip-apps/src/symbian_ua') diff --git a/pjsip-apps/src/symbian_ua/ua.cpp b/pjsip-apps/src/symbian_ua/ua.cpp index 75a8eb7c..f8a2ec38 100644 --- a/pjsip-apps/src/symbian_ua/ua.cpp +++ b/pjsip-apps/src/symbian_ua/ua.cpp @@ -245,7 +245,7 @@ static void on_call_replaced(pjsua_call_id old_call_id, /* Logging callback */ -static void log_writer(int level, const char *buf, unsigned len) +static void log_writer(int level, const char *buf, int len) { static wchar_t buf16[PJ_LOG_MAX_SIZE]; @@ -255,6 +255,7 @@ static void log_writer(int level, const char *buf, unsigned len) TPtrC16 aBuf((const TUint16*)buf16, (TInt)len); console->Write(aBuf); + } /* @@ -548,6 +549,7 @@ int ua_main() // Shutdown pjsua pjsua_destroy(); - return 0; +on_return: + return status; } -- cgit v1.2.3