Module: sems
Branch: 1.4
Commit: 32461b9a6ee112e1c557f9eee8a7198c135d2df1
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=32461b9a6ee112e1c557f9eee8a7198c135d2df1

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 20c7f5d..b23a98e 100644
--- a/core/AmSdp.cpp
+++ b/core/AmSdp.cpp
@@ -1187,7 +1187,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

Reply via email to