From: Wim Taymans Date: Mon, 26 Nov 2012 12:35:48 +0000 (+0100) Subject: client: fix compilation X-Git-Tag: 1.19.3~495^2~1248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f460e7360eed5ee5def048e97635dd9b46844b25;p=platform%2Fupstream%2Fgstreamer.git client: fix compilation --- diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 3f6cd0a..b883e01 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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 */