You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/03/19 18:01:20 UTC

cvs commit: xml-xerces/c/src/xercesc/util Base64.cpp

peiyongz    02/03/19 09:01:20

  Modified:    c/src/xercesc/util Base64.cpp
  Log:
  Fix to Bug#7243 Base64 encoding is not working.
  
  Revision  Changes    Path
  1.4       +4 -0      xml-xerces/c/src/xercesc/util/Base64.cpp
  
  Index: Base64.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Base64.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Base64.cpp	18 Feb 2002 16:07:38 -0000	1.3
  +++ Base64.cpp	19 Mar 2002 17:01:20 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: Base64.cpp,v $
  + * Revision 1.4  2002/03/19 17:01:20  peiyongz
  + * Fix to Bug#7243 Base64 encoding is not working.
  + *
    * Revision 1.3  2002/02/18 16:07:38  peiyongz
    * fix: "i" redefined on line 428 reported by compilers on some UNIX platforms
    *
  @@ -210,6 +213,7 @@
       {
           // second octet not present
           // two PADs e.g. 3c==
  +        encodedData[ outputIndex++ ] = base64Alphabet[ b2 ];
           encodedData[ outputIndex++ ] = base64Padding;
           encodedData[ outputIndex++ ] = base64Padding;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org