]> mj.ucw.cz Git - libucw.git/blobdiff - lib/base64.c
workqueue: Added non-blocking wait functions.
[libucw.git] / lib / base64.c
index 1e7bc52e9ca0022d28eecdd69d5e7d8f417e0d66..0f1b0144baceec439a33d683f5b0ed477daa6f99 100644 (file)
@@ -1,8 +1,10 @@
 /*
- *     Base 64 Encoding & Decoding
+ *     UCW Library -- Base 64 Encoding & Decoding
  *
  *     (c) 2002, Robert Spalek <robert@ucw.cz>
  *
+ *     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 <turadg@wise.berkeley.edu>
                 */
 
-               if (ch == ' ') ch = '+'; 
+               if (ch == ' ') ch = '+';
 
                ch = reverse_table[ch];
                if (ch == 0xff) continue;