summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-12-01 09:10:07 +0000
committerBenny Prijono <bennylp@teluu.com>2007-12-01 09:10:07 +0000
commita99b2f23919a4191737f378d51d55be2502bcbe1 (patch)
tree2d1e6cfc46574f07e044c3fabfd5dc9e323fa1ff /pjsip-apps
parentbc55c71825d90221c8214e51eca3cf34ea7852f9 (diff)
Changed logging function signature
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1606 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/src/symbian_ua/ua.cpp6
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;
}