Commit 290b2375 authored by Stephan Holljes's avatar Stephan Holljes Committed by Nicolas George

lavf/http: Indent else-clause.

Signed-off-by: 's avatarStephan Holljes <klaxa1337@googlemail.com>
parent a7e7c68b
......@@ -611,17 +611,16 @@ static int process_line(URLContext *h, char *line, int line_count,
}
av_log(h, AV_LOG_TRACE, "HTTP version string: %s\n", version);
} else {
/* TODO: reindent */
while (!av_isspace(*p) && *p != '\0')
p++;
while (av_isspace(*p))
p++;
s->http_code = strtol(p, &end, 10);
while (!av_isspace(*p) && *p != '\0')
p++;
while (av_isspace(*p))
p++;
s->http_code = strtol(p, &end, 10);
av_log(h, AV_LOG_TRACE, "http_code=%d\n", s->http_code);
av_log(h, AV_LOG_TRACE, "http_code=%d\n", s->http_code);
if ((ret = check_http_code(h, s->http_code, end)) < 0)
return ret;
if ((ret = check_http_code(h, s->http_code, end)) < 0)
return ret;
}
} else {
while (*p != '\0' && *p != ':')
......
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