summaryrefslogtreecommitdiffstats
path: root/src/rcciconv.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-05 15:06:52 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-05 15:06:52 +0000
commit550bda3e54a0895e027fee14860f14171a357ac9 (patch)
tree491fe42222b457dfb988f57f6dd190ab5fc9f5ff /src/rcciconv.c
parent9922cef1af71786ae788903b52a8968e5775d510 (diff)
downloadlibrcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.gz
librcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.bz2
librcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.xz
librcc-550bda3e54a0895e027fee14860f14171a357ac9.zip
Recoding Fixes
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;
}