rtsp-client: fix awkward if clause
authorTim-Philipp Müller <tim@centricular.com>
Sun, 8 Feb 2015 12:08:36 +0000 (12:08 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 8 Feb 2015 12:08:36 +0000 (12:08 +0000)
gst/rtsp-server/rtsp-client.c

index dc7ebcc..1d9610a 100644 (file)
@@ -2303,7 +2303,7 @@ handle_announce_request (GstRTSPClient * client, GstRTSPContext * ctx)
   /* could not be set but since the request returned OK, we assume it
    * was SDP, else check it. */
   if (cont) {
-    if (!g_ascii_strcasecmp (cont, "application/sdp") == 0)
+    if (g_ascii_strcasecmp (cont, "application/sdp") != 0)
       goto wrong_content_type;
   }