mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
curl: rtsp: parse "Session:" header properly
This commit is contained in:
parent
656c3aea8c
commit
d1ddb3f2db
@ -0,0 +1,26 @@
|
|||||||
|
From 69e0602a6d44f2d1bc93f059f275417c37a05b48 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stefan Saraev <stefan@saraev.ca>
|
||||||
|
Date: Sat, 29 Mar 2014 13:18:26 +0200
|
||||||
|
Subject: [PATCH] rtsp: parse "Session:" header properly
|
||||||
|
|
||||||
|
backport https://github.com/bagder/curl/commit/4ff71183b999761b07d54dd44743a4d59b2dad84
|
||||||
|
---
|
||||||
|
lib/rtsp.c | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/rtsp.c b/lib/rtsp.c
|
||||||
|
index 9d7a9a9..6e7aecd 100644
|
||||||
|
--- a/lib/rtsp.c
|
||||||
|
+++ b/lib/rtsp.c
|
||||||
|
@@ -761,7 +761,7 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn,
|
||||||
|
char *start;
|
||||||
|
|
||||||
|
/* Find the first non-space letter */
|
||||||
|
- start = header + 9;
|
||||||
|
+ start = header + 8;
|
||||||
|
while(*start && ISSPACE(*start))
|
||||||
|
start++;
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.2.5
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user