try some more things

This commit is contained in:
dignifiedquire
2019-08-08 00:44:30 +02:00
parent 4cc9172ee7
commit 7421aade3f
3 changed files with 140 additions and 70 deletions

View File

@@ -29,6 +29,10 @@ impl dc_simplify_t {
is_html: libc::c_int,
is_msgrmsg: libc::c_int,
) -> *mut libc::c_char {
if in_bytes <= 0 {
return "".strdup();
}
/* create a copy of the given buffer */
let mut out: *mut libc::c_char;
let mut temp: *mut libc::c_char;