--- parser3/src/targets/cgi/parser3.C 2003/02/14 17:33:45 1.216.2.4 +++ parser3/src/targets/cgi/parser3.C 2003/02/17 12:13:45 1.216.2.6 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2003/02/14 17:33:45 $"; +static const char* IDENT_PARSER3_C="$Date: 2003/02/17 12:13:45 $"; #include "pa_config_includes.h" @@ -321,9 +321,9 @@ static void real_parser_handler( request_info.uri=env_request_uri; else if(query_string) { - char *reconstructed_uri=(char *)request_pool.malloc( + char *reconstructed_uri=new(request_pool) char[ strlen(path_info)+1/*'?'*/+ - strlen(query_string)+1/*0*/); + strlen(query_string)+1/*0*/]; strcpy(reconstructed_uri, path_info); strcat(reconstructed_uri, "?"); strcat(reconstructed_uri, query_string); @@ -521,7 +521,7 @@ int main(int argc, char *argv[]) { #endif #ifdef _DEBUG -// _crtBreakAlloc=33112; + //_crtBreakAlloc=1684; #endif // _asm int 3; argv0=argv[0];