summaryrefslogtreecommitdiff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index da157588b9..fd58be8f4f 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -332,15 +332,15 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
if (status == __GCONV_FULL_OUTPUT)
status = __GCONV_OK;
}
+
+ /* We finished one use of the loops. */
+ ++data->__invocation_counter;
}
while (status == __GCONV_OK);
#ifdef END_LOOP
END_LOOP
#endif
-
- /* We finished one use of this step. */
- ++data->__invocation_counter;
}
return status;