changeset 59:bea761629c5b

libsip/sdp_parse.c: fix bug
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Sep 2022 14:53:18 -0800
parents 8d311fd1138b
children 02761f1ae5e5
files libsip/sdp_parse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;