summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-10-15 07:45:09 +0000
committerOlle Johansson <oej@edvina.net>2008-10-15 07:45:09 +0000
commit7fa8f6542543e3a87876d7ecfe258a4c20c03346 (patch)
tree5cdcced4dd3c7d6ad914655237a8d71da7bf2205 /channels
parentdc36a357d2196bbd7b72fb90c7b1f81e5646c09e (diff)
Fixing sytax errors ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index a5ebc1da6..224af5ec8 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6886,28 +6886,28 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
o = get_sdp(req, "o");
if (ast_strlen_zero(o)) {
- ast_log(LOG_WARNING, "SDP sytax error. SDP without an o= line\n");
+ ast_log(LOG_WARNING, "SDP syntax error. SDP without an o= line\n");
return -1;
}
o_copy = ast_strdupa(o);
token = strsep(&o_copy, " "); /* Skip username */
if (!o_copy) {
- ast_log(LOG_WARNING, "SDP sytax error in o= line username\n");
+ ast_log(LOG_WARNING, "SDP syntax error in o= line username\n");
return -1;
}
token = strsep(&o_copy, " "); /* Skip session-id */
if (!o_copy) {
- ast_log(LOG_WARNING, "SDP sytax error in o= line session-id\n");
+ ast_log(LOG_WARNING, "SDP syntax error in o= line session-id\n");
return -1;
}
token = strsep(&o_copy, " "); /* Version */
if (!o_copy) {
- ast_log(LOG_WARNING, "SDP sytax error in o= line\n");
+ ast_log(LOG_WARNING, "SDP syntax error in o= line\n");
return -1;
}
if (!sscanf(token, "%d", &rua_version)) {
- ast_log(LOG_WARNING, "SDP sytax error in o= line version\n");
+ ast_log(LOG_WARNING, "SDP syntax error in o= line version\n");
return -1;
}
@@ -6916,7 +6916,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
p->session_modify = TRUE;
} else if (p->sessionversion_remote == rua_version) {
p->session_modify = FALSE;
- ast_debug(2, "SDP version number same as previous SDP\n");
+ ast_debug(2, "SDP version number same as previous SDP. Not parsing this SDP.\n");
return 0;
}