Commit b5243c87 authored by Christophe Mutricy's avatar Christophe Mutricy

No commit message

No commit message
parent 1420a0f3
......@@ -28,8 +28,8 @@
#include "MediaControl.h"
#include "orbit/poa/portableserver-poa-type.h"
#include <vlc/control.h>
#include <vlc/vlc.h>
#include <vlc/mediacontrol.h>
#include <vlc/intf.h>
#include <vlc/vout.h>
#include <vlc/aout.h>
......
......@@ -478,13 +478,13 @@ static void Callback404( httpd_file_sys_t *p_args, char **pp_data,
{
return;
}
p += sprintf( p, "<html>\n" );
p += sprintf( p, "Content-Type: text/html\n" );
p += sprintf( p, "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" );
p += sprintf( p, "<head>\n" );
p += sprintf( p, "<title>Error loading %s</title>\n", p_args->file );
p += sprintf( p, "</head>\n" );
p += sprintf( p, "<body>\n" );
p += sprintf( p, "<h1><center>Error loading %s for %s</center></h1>\n", p_args->file, p_args->name );
p += sprintf( p, "<hr />\n" );
p += sprintf( p, "<a href=\"http://www.videolan.org/\">VideoLAN</a>\n" );
p += sprintf( p, "</body>\n" );
p += sprintf( p, "</html>\n" );
......
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