diff libsip/sdp_parse.c @ 59:bea761629c5b

libsip/sdp_parse.c: fix bug
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Sep 2022 14:53:18 -0800
parents 2423f3aac4ce
children
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;