--- parser3/src/main/pa_request.C 2001/12/19 16:24:07 1.187 +++ parser3/src/main/pa_request.C 2001/12/21 12:50:18 1.189 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_request.C,v 1.187 2001/12/19 16:24:07 paf Exp $ + $Id: pa_request.C,v 1.189 2001/12/21 12:50:18 paf Exp $ */ #include "pa_sapi.h" @@ -228,8 +228,7 @@ gettimeofday(&mt[0],NULL); gettimeofday(&mt[1],NULL); #endif // execute @main[] - const String *body_string=execute_virtual_method( - *main_class, *main_method_name); + const String *body_string=execute_virtual_method(*main_class, *main_method_name); if(!body_string) throw Exception(0,0, 0, @@ -254,7 +253,7 @@ gettimeofday(&mt[2],NULL); frame.store_param(method->name, &body_vstring_before_post_process); body_vstring_after_post_process= - NEW VString(*execute_method(frame, *method)); + NEW VString(execute_method(frame, *method)); } bool origins_mode=main_class->get_element(*origins_mode_name)!=0; @@ -427,7 +426,7 @@ t[9]-t[3] // future $response:body= // execute ^exception[origin;source;comment;type;code;stack] - body_string=execute_method(frame, *method); + body_string=&execute_method(frame, *method); } }