client: fix build

This commit is contained in:
Wim Taymans 2014-07-01 15:02:15 +02:00
parent 5e2afcefdd
commit 517bb78ae3

View 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));
}