|
|
| version 1.32, 2015/04/08 18:08:52 | version 1.33, 2015/10/08 22:49:36 |
|---|---|
| Line 344 static void _uid(Request& r, MethodParam | Line 344 static void _uid(Request& r, MethodParam |
| char local_buf[MAX_NUMBER]; | char local_buf[MAX_NUMBER]; |
| int size=snprintf(local_buf, sizeof(local_buf), "%p", &obj); | int size=snprintf(local_buf, sizeof(local_buf), "%p", &obj); |
| r.write_pass_lang(*new String(pa_strdup(local_buf, (size_t)size), String::L_CLEAN, size)); | r.write_pass_lang(*new String(String::C(pa_strdup(local_buf, (size_t)size), size))); |
| } | } |
| static void _delete(Request&, MethodParams& params) { | static void _delete(Request&, MethodParams& params) { |