diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-14 22:15:36 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-14 22:15:36 +0200 |
commit | 80bd9afe43dbaf208d88e8e6a6e41a6ea7ae4bf7 (patch) | |
tree | 856f8c2dfe61d485da70d08dd923f98857d08c39 /junklib.c | |
parent | 84d72951c86ba5e36afaa9118a08ac888c691ddb (diff) |
iconv regression fix
Diffstat (limited to 'junklib.c')
-rw-r--r-- | junklib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -487,6 +487,7 @@ junk_iconv (const char *in, int inlen, char *out, int outlen, const char *cs_in, if (res == -1) { return -1; } + out[pout-out] = 0; //trace ("iconv out: %s (len=%d)\n", out, pout - out); return pout - out; #elif defined(HAVE_ICU) |