diff options
Diffstat (limited to 'pjsip-apps/src/symbian_ua')
-rw-r--r-- | pjsip-apps/src/symbian_ua/ua.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |