Module: sems Branch: master Commit: ce8008f76a53dcc71ef00d9e0abd4608c52c82c1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=ce8008f76a53dcc71ef00d9e0abd4608c52c82c1
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Wed Dec 14 16:44:50 2011 +0100 b/f: fixing b6d5f726 (fix SBC SDP filter) --- core/AmSdp.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/core/AmSdp.cpp b/core/AmSdp.cpp index 066e2eb..4e06ddb 100644 --- a/core/AmSdp.cpp +++ b/core/AmSdp.cpp @@ -1049,7 +1049,7 @@ static void parse_sdp_origin(AmSdp* sdp_msg, char* s) next = parse_until(origin_line, ' '); //check if line contains more values than allowed if(next > line_end){ - origin.conn.address = string(origin_line, int(line_end-origin_line)-1); + origin.conn.address = string(origin_line, int(line_end-origin_line)-2); }else{ DBG("parse_sdp_origin: 'o=' contains more values than allowed; these values will be ignored\n"); origin.conn.address = string(origin_line, int(next-origin_line)-1); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
