--- parser3/src/main/pa_xml_io.C 2003/11/28 10:40:19 1.9 +++ parser3/src/main/pa_xml_io.C 2003/11/28 10:42:47 1.11 @@ -9,7 +9,7 @@ #ifdef XML -static const char * const IDENT="$Date: 2003/11/28 10:40:19 $"; +static const char * const IDENT="$Date: 2003/11/28 10:42:47 $"; #include "libxslt/extensions.h" @@ -40,7 +40,7 @@ struct MemoryStream { #ifdef PA_SAFE_MODE static int xmlFileMatchSafeMode(const char* file_spec_cstr) { - if(strstr(filename, "://")) { + if(strstr(file_spec_cstr, "://")) { String* file_spec=new String(file_spec_cstr, true); struct stat finfo; if(stat(file_spec_cstr, &finfo)!=0) @@ -86,7 +86,6 @@ xmlFileMatchLocalhost(const char* filena static void * xmlFileOpenLocalhost (const char* filename) { Request& r=pa_thread_request(); - FILE *fd; const char* document_root=r.request_info.document_root; if(!document_root) document_root=".";