]> git.eshelyaron.com Git - emacs.git/commitdiff
(base64_encode_1): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Thu, 13 Nov 2003 06:03:46 +0000 (06:03 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 13 Nov 2003 06:03:46 +0000 (06:03 +0000)
src/fns.c

index 2c458ba1766c4244d6389e627f8c1404d9ef7871..87f752a8aae2340d02cba9a5f5705b26331a7c62 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -3300,6 +3300,7 @@ base64_encode_1 (from, to, length, line_break, multibyte)
          if (CHAR_BYTE8_P (c))
            c = CHAR_TO_BYTE8 (c);
          else if (c >= 256)
+           return -1;
          i += bytes;
        }
       else