# HG changeset patch # User Mychaela Falconia # Date 1662677598 28800 # Node ID bea761629c5b80db5ea10c42c52bb9144d56419d # Parent 8d311fd1138baea99e1d292dd0a7d323ec99210f libsip/sdp_parse.c: fix bug diff -r 8d311fd1138b -r bea761629c5b libsip/sdp_parse.c --- a/libsip/sdp_parse.c Thu Sep 08 14:38:29 2022 -0800 +++ b/libsip/sdp_parse.c Thu Sep 08 14:53:18 2022 -0800 @@ -49,7 +49,7 @@ if (!isdigit(*cp)) return(-1); dist->audio_port = strtoul(cp, &cp, 10); - if (!strncmp(cp, " RTP/AVP", 8)) + if (strncmp(cp, " RTP/AVP", 8)) return(-1); cp += 8; dist->codec_mask = 0;