aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsrtombs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsrtombs.c')
-rw-r--r--wcsmbs/wcsrtombs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c
index 27b1df8..b40d143 100644
--- a/wcsmbs/wcsrtombs.c
+++ b/wcsmbs/wcsrtombs.c
@@ -45,6 +45,8 @@ __wcsrtombs (dst, src, len, ps)
size_t result = 0;
/* Tell where we want the result. */
+ data.invocation_counter = 0;
+ data.internal_use = 1;
data.is_last = 1;
data.statep = ps ?: &state;