Commit 0679719d authored by Erik Hovland's avatar Erik Hovland Committed by Baptiste Coudurier

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

Originally committed as revision 13857 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 54e5cf13
...@@ -1614,7 +1614,7 @@ static void compute_status(HTTPContext *c) ...@@ -1614,7 +1614,7 @@ static void compute_status(HTTPContext *c)
url_fprintf(pb, "\r\n"); url_fprintf(pb, "\r\n");
url_fprintf(pb, "<HEAD><TITLE>%s Status</TITLE>\n", program_name); 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, "<link rel=\"shortcut icon\" href=\"%s\">\n", c->stream->feed_filename);
url_fprintf(pb, "</HEAD>\n<BODY>"); url_fprintf(pb, "</HEAD>\n<BODY>");
url_fprintf(pb, "<H1>%s Status</H1>\n", program_name); 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