summaryrefslogtreecommitdiffstats
path: root/src/rcciconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcciconv.c')
-rw-r--r--src/rcciconv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rcciconv.c b/src/rcciconv.c
index d309a5f..50f827e 100644
--- a/src/rcciconv.c
+++ b/src/rcciconv.c
@@ -67,6 +67,8 @@ loop:
return -1;
}
}
-
+
+ ctx->tmpbuffer[RCC_MAX_STRING_CHARS - out_left] = 0;
+
return RCC_MAX_STRING_CHARS - out_left;
}