From: Jaroslav Kysela Date: Sat, 24 May 2014 21:30:45 +0000 (+0200) Subject: rtsp: Use session header also for the options cmd X-Git-Tag: v4.1~2056 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbe885b79d029979a1a945479888bfde8ef466df;p=thirdparty%2Ftvheadend.git rtsp: Use session header also for the options cmd --- diff --git a/src/rtsp.c b/src/rtsp.c index 339dc0fdb..30420b774 100644 --- a/src/rtsp.c +++ b/src/rtsp.c @@ -36,7 +36,7 @@ rtsp_send( http_client_t *hc, http_cmd_t cmd, size_t blen = 7 + strlen(hc->hc_host) + (path ? strlen(path) : 1) + 1; char *buf = alloca(blen); - if (hc->hc_rtsp_session && cmd != RTSP_CMD_OPTIONS) { + if (hc->hc_rtsp_session) { if (hdr == NULL) { hdr = &h; http_arg_init(&h);