Changeset 3146

Show
Ignore:
Timestamp:
02/26/06 13:35:39 (3 years ago)
Author:
timothy
Message:

Fixes #513. Swap the buffer sizes to decode base64 correctly. Thanks for poiniting this out.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Additions/NSDataAdditions.m

    r3083 r3146  
    2424                unsigned long lentext = 0; 
    2525                unsigned char ch = 0; 
    26                 unsigned char inbuf[3], outbuf[4]; 
     26                unsigned char inbuf[4], outbuf[3]; 
    2727                short i = 0, ixinbuf = 0; 
    2828                BOOL flignore = NO;