|
|
| version 1.93, 2002/01/16 10:28:33 | version 1.94, 2002/01/25 11:33:45 |
|---|---|
| Line 421 static void _replace(Request& r, const S | Line 421 static void _replace(Request& r, const S |
| } | } |
| static void _save(Request& r, const String& method_name, MethodParams *params) { | static void _save(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | |
| const String& file_name=params->as_string(params->size()-1, | const String& file_name=params->as_string(params->size()-1, |
| "file name must be string"); | "file name must be string"); |
| Line 440 static void _save(Request& r, const Stri | Line 439 static void _save(Request& r, const Stri |
| // write | // write |
| const char *buf=src.cstr(String::UL_UNSPECIFIED); | const char *buf=src.cstr(String::UL_UNSPECIFIED); |
| file_write(pool, r.absolute(file_name), | file_write(r.absolute(file_name), |
| buf, strlen(buf), true, do_append); | buf, strlen(buf), true, do_append); |
| } | } |