diff options
Diffstat (limited to 'iconvdata/utf-7.c')
-rw-r--r-- | iconvdata/utf-7.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/iconvdata/utf-7.c b/iconvdata/utf-7.c index f02063d334..98b66751e7 100644 --- a/iconvdata/utf-7.c +++ b/iconvdata/utf-7.c @@ -533,10 +533,9 @@ base64 (unsigned int i) if (state & 0x18) \ { \ /* Deactivate base64 encoding. */ \ - unsigned char *outbuf = data->__outbuf; \ size_t count = ((state & 0x18) >= 0x10) + 1; \ \ - if (__builtin_expect (outbuf + count > data->__outbufend, 0)) \ + if (__builtin_expect (outbuf + count > outend, 0)) \ /* We don't have enough room in the output buffer. */ \ status = __GCONV_FULL_OUTPUT; \ else \ @@ -546,7 +545,6 @@ base64 (unsigned int i) *outbuf++ = base64 ((state >> 3) & ~3); \ *outbuf++ = '-'; \ \ - data->__outbuf = outbuf; \ data->__statep->__count = 0; \ } \ } \ |