Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: m3u parser - fix wrong variable usage
  • Loading branch information
perexg committed Oct 30, 2015
1 parent 23576ab commit 08e57f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input/mpegts/iptv/iptv_http.c
Expand Up @@ -155,9 +155,9 @@ iptv_http_complete
goto invalid;
url2 = malloc(512);
url2[0] = '\0';
if ((s = http_arg_get(&hc->hc_args, "Host")) != NULL) {
if ((p = http_arg_get(&hc->hc_args, "Host")) != NULL) {
snprintf(url2, 512, "%s://%s%s",
hc->hc_ssl ? "https" : "http", s, url);
hc->hc_ssl ? "https" : "http", p, url);
} else if (im->mm_iptv_url_raw) {
snprintf(url2, 512, "%s%s", s, url);
}
Expand Down

0 comments on commit 08e57f0

Please sign in to comment.