diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-13 18:22:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-13 18:22:02 +0000 |
commit | 23054adeff8d167d8e1455daa03534c5fd431021 (patch) | |
tree | 857807f0f34d288ec248d3256c6dda0a5694ffad /iconv/iconv_prog.c | |
parent | f7b94528be5c3d2c4abad4395929c511c582b8ae (diff) | |
download | glibc-23054adeff8d167d8e1455daa03534c5fd431021.tar glibc-23054adeff8d167d8e1455daa03534c5fd431021.tar.gz glibc-23054adeff8d167d8e1455daa03534c5fd431021.tar.bz2 glibc-23054adeff8d167d8e1455daa03534c5fd431021.zip |
(main): Fix appending slashes if omit_invalid is true.
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r-- | iconv/iconv_prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 56a2014268..9c85b7ce69 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -166,7 +166,7 @@ main (int argc, char *argv[]) newp = (char *) alloca (errhand - to_code + nslash + 6 + 1); cp = mempcpy (newp, to_code, errhand - to_code); - while (nslash > 0) + while (nslash-- > 0) *cp++ = '/'; memcpy (cp, "NEEDED", sizeof ("NEEDED")); |