fixes searching after end of SDP in contains function (protos c7 4220)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@931 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent 895c904974
commit 7cc000c545

@ -1023,7 +1023,7 @@ static void parse_sdp_origin(AmSdp* sdp_msg, char* s)
static bool contains(char* s, char* next_line, char c)
{
char* line=s;
while(line != next_line-1){
while((line != next_line-1) && (*line)){
if(*line == c)
return true;
*line++;

Loading…
Cancel
Save