diff options
Diffstat (limited to 'core/errorhelper.c')
-rw-r--r-- | core/errorhelper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/errorhelper.c b/core/errorhelper.c index 7c30867a7..36b58e264 100644 --- a/core/errorhelper.c +++ b/core/errorhelper.c @@ -22,8 +22,7 @@ int report_error(const char *fmt, ...) return -1; VA_BUF(&buf, fmt); - mb_cstring(&buf); - error_cb(detach_buffer(&buf)); + error_cb(detach_cstring(&buf)); return -1; } |