[sr-dev] git:master: core: parser/sdp - fixed parsing attributes lines

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 28 16:03:28 CEST 2011


Module: sip-router
Branch: master
Commit: e332ea9eaac3035c3ccd1605ef0b623a2b63a733
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e332ea9eaac3035c3ccd1605ef0b623a2b63a733

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Sep 28 15:48:02 2011 +0200

core: parser/sdp - fixed parsing attributes lines

- some lines were mistakenly jumped over

---

 parser/sdp/sdp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index 2f8831d..687d466 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -557,7 +557,7 @@ static int parse_sdp_session(str *sdp_body, int session_num, str *cnt_disp, sdp_
 			/*	LM_DBG("else: `%.*s'\n", tmpstr1.len, tmpstr1.s); */
 			}
 
-			a2p = find_next_sdp_line(a1p, m2p, 'a', m2p);
+			a2p = find_next_sdp_line(a2p, m2p, 'a', m2p);
 		}
 		/* Let's detect if the media is on hold by checking
 		 * the good old "0.0.0.0" connection address */




More information about the sr-dev mailing list