Selaa lähdekoodia

core: parser/sdp - fixed parsing attributes lines

- some lines were mistakenly jumped over
Daniel-Constantin Mierla 14 vuotta sitten
vanhempi
commit
e332ea9eaa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      parser/sdp/sdp.c

+ 1 - 1
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 */