]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
rtsp: Use session header also for the options cmd
authorJaroslav Kysela <perex@perex.cz>
Sat, 24 May 2014 21:30:45 +0000 (23:30 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 25 May 2014 19:02:13 +0000 (21:02 +0200)
src/rtsp.c

index 339dc0fdb2582a3ee7b3cf3765568d25e08a3596..30420b7743a9dd0ac01a6bf880dde6c6a6e88e96 100644 (file)
@@ -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);