From 57460ee1295dfb681fcfeeeeaa16785aab571751 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 23 Jan 2014 08:15:34 +0000 Subject: Misc (re #1630): Fixed some typos in the code (thanks Tzafrir Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4714 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/pjsua/pjsua_app_cli.c | 2 +- pjsip-apps/src/pjsua/pjsua_app_config.c | 2 +- pjsip-apps/src/pjsua/pjsua_app_legacy.c | 2 +- pjsip-apps/src/py_pjsua/pjsua_app.py | 2 +- pjsip/src/pjsua-lib/pjsua_call.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pjsip-apps/src/pjsua/pjsua_app_cli.c b/pjsip-apps/src/pjsua/pjsua_app_cli.c index e8639d3f..c7481940 100644 --- a/pjsip-apps/src/pjsua/pjsua_app_cli.c +++ b/pjsip-apps/src/pjsua/pjsua_app_cli.c @@ -1711,7 +1711,7 @@ static pj_status_t cmd_transfer_call(pj_cli_cmd_val *cval) pjsua_call_get_info(current_call, &ci); pj_ansi_snprintf(out_str, sizeof(out_str), - "Transfering current call [%d] %.*s\n", + "Transferring current call [%d] %.*s\n", current_call, (int)ci.remote_info.slen, ci.remote_info.ptr); diff --git a/pjsip-apps/src/pjsua/pjsua_app_config.c b/pjsip-apps/src/pjsua/pjsua_app_config.c index f7450d02..9775db56 100644 --- a/pjsip-apps/src/pjsua/pjsua_app_config.c +++ b/pjsip-apps/src/pjsua/pjsua_app_config.c @@ -194,7 +194,7 @@ static void usage(void) puts (" --max-calls=N Maximum number of concurrent calls (default:4, max:255)"); puts (" --thread-cnt=N Number of worker threads (default:1)"); puts (" --duration=SEC Set maximum call duration (default:no limit)"); - puts (" --norefersub Suppress event subscription when transfering calls"); + puts (" --norefersub Suppress event subscription when transferring calls"); puts (" --use-compact-form Minimize SIP message size"); puts (" --no-force-lr Allow strict-route to be used (i.e. do not force lr)"); puts (" --accept-redirect=N Specify how to handle call redirect (3xx) response."); diff --git a/pjsip-apps/src/pjsua/pjsua_app_legacy.c b/pjsip-apps/src/pjsua/pjsua_app_legacy.c index aeca9dfc..f3bed8cb 100644 --- a/pjsip-apps/src/pjsua/pjsua_app_legacy.c +++ b/pjsip-apps/src/pjsua/pjsua_app_legacy.c @@ -1068,7 +1068,7 @@ static void ui_call_transfer(pj_bool_t no_refersub) pjsua_msg_data msg_data; pjsua_call_get_info(current_call, &ci); - printf("Transfering current call [%d] %.*s\n", current_call, + printf("Transferring current call [%d] %.*s\n", current_call, (int)ci.remote_info.slen, ci.remote_info.ptr); ui_input_url("Transfer to URL", buf, sizeof(buf), &result); diff --git a/pjsip-apps/src/py_pjsua/pjsua_app.py b/pjsip-apps/src/py_pjsua/pjsua_app.py index 093b96ea..29c2b756 100644 --- a/pjsip-apps/src/py_pjsua/pjsua_app.py +++ b/pjsip-apps/src/py_pjsua/pjsua_app.py @@ -411,7 +411,7 @@ def xfer_call(): else: call = g_current_call ci = py_pjsua.call_get_info(g_current_call) - print "Transfering current call ["+ `g_current_call` + "] " + ci.remote_info + print "Transferring current call ["+ `g_current_call` + "] " + ci.remote_info print "Enter sip url : " url = sys.stdin.readline() if url == "\n": diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 4e840df1..ff64e1e4 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -2571,7 +2571,7 @@ PJ_DEF(pj_status_t) pjsua_call_xfer( pjsua_call_id call_id, PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls && dest, PJ_EINVAL); - PJ_LOG(4,(THIS_FILE, "Transfering call %d to %.*s", call_id, + PJ_LOG(4,(THIS_FILE, "Transferring call %d to %.*s", call_id, (int)dest->slen, dest->ptr)); pj_log_push_indent(); @@ -2652,7 +2652,7 @@ PJ_DEF(pj_status_t) pjsua_call_xfer_replaces( pjsua_call_id call_id, dest_call_id<(int)pjsua_var.ua_cfg.max_calls, PJ_EINVAL); - PJ_LOG(4,(THIS_FILE, "Transfering call %d replacing with call %d", + PJ_LOG(4,(THIS_FILE, "Transferring call %d replacing with call %d", call_id, dest_call_id)); pj_log_push_indent(); -- cgit v1.2.3