summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-07-01 15:02:15 +0200
committerWim Taymans <wtaymans@redhat.com>2014-07-01 15:02:15 +0200
commit517bb78ae31551c79017915bcff6471c28b57ddf (patch)
treeed669228473f6eb4a6eb8dd18be8a6f6cf100336
parent5e2afcefdda5066641c01d243444c4f670054de0 (diff)
client: fix build
-rw-r--r--gst/rtsp-server/rtsp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index e442209..57865f2 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -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));
}