client: fix compilation
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 26 Nov 2012 12:35:48 +0000 (13:35 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 26 Nov 2012 12:36:19 +0000 (13:36 +0100)
gst/rtsp-server/rtsp-client.c

index 3f6cd0a..b883e01 100644 (file)
@@ -322,8 +322,7 @@ send_response (GstRTSPClient * client, GstRTSPSession * session,
   }
 
   if (close) {
-    gst_rtsp_message_add_header (state->response, GST_RTSP_HDR_CONNECTION,
-        "close");
+    gst_rtsp_message_add_header (response, GST_RTSP_HDR_CONNECTION, "close");
   }
   /* send the response and store the seq number so we can wait until it's
    * written to the client to close the connection */