client: fix build
authorWim Taymans <wtaymans@redhat.com>
Tue, 1 Jul 2014 13:02:15 +0000 (15:02 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 1 Jul 2014 13:02:15 +0000 (15:02 +0200)
gst/rtsp-server/rtsp-client.c

index e442209..57865f2 100644 (file)
@@ -299,7 +299,7 @@ client_watch_session (GstRTSPClient * client, GstRTSPSession * session)
 
   g_mutex_lock (&priv->lock);
   /* check if we already know about this session */
-  if (g_list_find (priv->sessions, session) = NULL) {
+  if (g_list_find (priv->sessions, session) == NULL) {
     GST_INFO ("watching session %p", session);
     priv->sessions = g_list_prepend (priv->sessions, g_object_ref (session));
   }