diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-03-10 13:33:25 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-03-10 13:33:25 +0000 |
commit | 8e703ff217b32a9cc4d29393769ac85688900fbf (patch) | |
tree | d857fa788375d164e87eb7bc578dd9d8b09d606f /pjsip-apps/src/pjsua | |
parent | 44c2febe5e74bb190b1d68dd506e1ce48714bc97 (diff) |
More #1032 (new SIP TCP/TLS transport callback):
- PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed
- there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3119 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsua')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 083453a2..b312b3a3 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -2804,7 +2804,7 @@ static void on_transport_state(pjsip_transport *tp, switch (state) { case PJSIP_TP_STATE_CONNECTED: { - PJ_LOG(3,(THIS_FILE, "SIP transport %s is connected to %s", + PJ_LOG(3,(THIS_FILE, "SIP %s transport is connected to %s", tp->type_name, host_port)); } break; @@ -2813,7 +2813,7 @@ static void on_transport_state(pjsip_transport *tp, { char buf[100]; - snprintf(buf, sizeof(buf), "SIP transport %s is disconnected from %s", + snprintf(buf, sizeof(buf), "SIP %s transport is disconnected from %s", tp->type_name, host_port); pjsua_perror(THIS_FILE, buf, info->status); } |