about summary refs log tree commit diff
path: root/iconv/gconv_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_db.c')
-rw-r--r--iconv/gconv_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c
index e0a94e41c3..b3bdd7abc0 100644
--- a/iconv/gconv_db.c
+++ b/iconv/gconv_db.c
@@ -534,9 +534,9 @@ __gconv_find_transform (const char *toset, const char *fromset,
       do
 	if (steps[--cnt].counter++ == 0)
 	  {
-	    steps[--cnt].shlib_handle =
-	      __gconv_find_shlib (steps[--cnt].modname);
-	    if (steps[--cnt].shlib_handle == NULL)
+	    steps[cnt].shlib_handle =
+	      __gconv_find_shlib (steps[cnt].modname);
+	    if (steps[cnt].shlib_handle == NULL)
 	      {
 		/* Oops, this is the second time we use this module (after
 		   unloading) and this time loading failed!?  */