summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/libucl/ucl_emitter_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_emitter_utils.c b/contrib/libucl/ucl_emitter_utils.c
index 11a6c4b3d..0831b3bf9 100644
--- a/contrib/libucl/ucl_emitter_utils.c
+++ b/contrib/libucl/ucl_emitter_utils.c
@@ -138,7 +138,7 @@ ucl_elt_string_write_json (const char *str, size_t size,
break;
default:
/* Emit unicode unknown character */
- func->ucl_emitter_append_len ("\\uFFFD", 5, func->ud);
+ func->ucl_emitter_append_len ("\\uFFFD", 6, func->ud);
break;
}
len = 0;