--- parser3/src/targets/cgi/parser3.C 2002/12/05 10:08:59 1.208 +++ parser3/src/targets/cgi/parser3.C 2002/12/05 10:43:23 1.209 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2002/12/05 10:08:59 $"; +static const char* IDENT_PARSER3_C="$Date: 2002/12/05 10:43:23 $"; #include "pa_config_includes.h" @@ -209,10 +209,10 @@ void SAPI::send_body(Pool& , const void // static void full_file_spec(const char *file_name, char *buf, size_t buf_size) { - if(file_name) + if(file_name && *file_name) if(file_name[0]=='/' #ifdef WIN32 - || (file_name[0] && file_name[1]==':') + || file_name[1]==':' #endif ) strncpy(buf, file_name, buf_size);