aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wctob.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wctob.c')
-rw-r--r--wcsmbs/wctob.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wcsmbs/wctob.c b/wcsmbs/wctob.c
index 7376538..8cbcbe4 100644
--- a/wcsmbs/wctob.c
+++ b/wcsmbs/wctob.c
@@ -38,6 +38,8 @@ wctob (c)
/* Tell where we want the result. */
data.outbuf = buf;
data.outbufend = buf + MB_LEN_MAX;
+ data.invocation_counter = 0;
+ data.internal_use = 1;
data.is_last = 1;
data.statep = &data.__state;