about summary refs log tree commit diff
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 7376538ad9..8cbcbe41c3 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;