Commit e7801a91 authored by bcoudurier's avatar bcoudurier

fix feed_filename test, field is char [1024], patch by Erik Hovland, erik at hovland dot org

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13857 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f798f550
......@@ -1614,7 +1614,7 @@ static void compute_status(HTTPContext *c)
url_fprintf(pb, "\r\n");
url_fprintf(pb, "<HEAD><TITLE>%s Status</TITLE>\n", program_name);
if (c->stream->feed_filename)
if (c->stream->feed_filename[0])
url_fprintf(pb, "<link rel=\"shortcut icon\" href=\"%s\">\n", c->stream->feed_filename);
url_fprintf(pb, "</HEAD>\n<BODY>");
url_fprintf(pb, "<H1>%s Status</H1>\n", program_name);
......
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