Commit 7e6c6c45 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e77a2ea9'

* commit 'e77a2ea9':
  http: Declare more parameters as const where possible
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents ad341b3b e77a2ea9
......@@ -358,7 +358,7 @@ static int parse_location(HTTPContext *s, const char *p)
}
/* "bytes $from-$to/$document_size" */
static void parse_content_range(URLContext *h, char *p)
static void parse_content_range(URLContext *h, const char *p)
{
HTTPContext *s = h->priv_data;
const char *slash;
......@@ -373,7 +373,7 @@ static void parse_content_range(URLContext *h, char *p)
h->is_streamed = 0; /* we _can_ in fact seek */
}
static int parse_content_encoding(URLContext *h, char *p)
static int parse_content_encoding(URLContext *h, const char *p)
{
HTTPContext *s = h->priv_data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment