X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fbase64.c;h=0f1b0144baceec439a33d683f5b0ed477daa6f99;hb=e4c695d49529d03352d241872493a5161e646288;hp=1e7bc52e9ca0022d28eecdd69d5e7d8f417e0d66;hpb=61e90cb3e0e1951e6e2d75f90c34adf5b3beb38d;p=libucw.git diff --git a/lib/base64.c b/lib/base64.c index 1e7bc52e..0f1b0144 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -1,8 +1,10 @@ /* - * Base 64 Encoding & Decoding + * UCW Library -- Base 64 Encoding & Decoding * * (c) 2002, Robert Spalek * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #undef LOCAL_DEBUG @@ -91,7 +93,7 @@ base64_decode(byte *dest, byte *src, uns len) headache. - Turadg Aleahmad */ - if (ch == ' ') ch = '+'; + if (ch == ' ') ch = '+'; ch = reverse_table[ch]; if (ch == 0xff) continue;