|
|
| version 1.216, 2005/11/18 11:04:37 | version 1.217, 2005/11/25 09:52:07 |
|---|---|
| Line 446 static void _save(Request& r, MethodPara | Line 446 static void _save(Request& r, MethodPara |
| } | } |
| // write | // write |
| file_write(r.absolute(file_name), | { |
| sdata.cstr(), sdata.length(), true, do_append); | const char* data_cstr=sdata.cstr(); |
| file_write(r.absolute(file_name), | |
| data_cstr, sdata.length(), true, do_append); | |
| if(*data_cstr) // not empty (when empty it's not heap memory) | |
| pa_free((void*)data_cstr); // not needed anymore | |
| } | |
| } | } |
| static void _count(Request& r, MethodParams&) { | static void _count(Request& r, MethodParams&) { |