|
|
| version 1.76, 2002/04/15 11:34:24 | version 1.78, 2002/04/15 13:17:03 |
|---|---|
| Line 104 static void _find(Request& r, const Stri | Line 104 static void _find(Request& r, const Stri |
| // not found | // not found |
| if(params->size()==2) { | if(params->size()==2) { |
| Value& not_found_code=params->as_junction(1, "not-found param must be code"); | Value& not_found_code=params->as_junction(1, "not-found param must be code"); |
| r.write_pass_lang(r.process_to_value(not_found_code)); | r.write_pass_lang(r.process(not_found_code)); |
| } | } |
| } | } |
| Line 381 static void lock_execute_body(int , void | Line 381 static void lock_execute_body(int , void |
| Lock_execute_body_info& info=*static_cast<Lock_execute_body_info *>(context); | Lock_execute_body_info& info=*static_cast<Lock_execute_body_info *>(context); |
| // execute body | // execute body |
| info.r->write_assign_lang(info.r->process_to_string(*info.body_code)); | info.r->write_assign_lang(info.r->process(*info.body_code)); |
| }; | }; |
| static void _lock(Request& r, const String& method_name, MethodParams *params) { | static void _lock(Request& r, const String& method_name, MethodParams *params) { |
| const String& file_spec=r.absolute(params->as_string(0, "file name must be string")); | const String& file_spec=r.absolute(params->as_string(0, "file name must be string")); |