subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1139519 - /subversion/trunk/subversion/libsvn_subr/svn_base64.c
Date Sat, 25 Jun 2011 11:03:54 GMT
Author: danielsh
Date: Sat Jun 25 11:03:54 2011
New Revision: 1139519

URL: http://svn.apache.org/viewvc?rev=1139519&view=rev
Log:
No functional change.

* subversion/libsvn_subr/svn_base64.c
  (encode_bytes): Typo fix and a bikesheddy readability tweak.

Modified:
    subversion/trunk/subversion/libsvn_subr/svn_base64.c

Modified: subversion/trunk/subversion/libsvn_subr/svn_base64.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/svn_base64.c?rev=1139519&r1=1139518&r2=1139519&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/svn_base64.c (original)
+++ subversion/trunk/subversion/libsvn_subr/svn_base64.c Sat Jun 25 11:03:54 2011
@@ -131,7 +131,7 @@ encode_bytes(svn_stringbuf_t *str, const
   if (break_lines)
     {
       /* Add an extra space for line breaks. */
-      buflen = buflen + buflen / BASE64_LINELEN;
+      buflen += buflen / BASE64_LINELEN;
     }
   svn_stringbuf_ensure(str, buflen);
 
@@ -162,7 +162,7 @@ encode_bytes(svn_stringbuf_t *str, const
           *linelen += 4;
         }
 
-      /* Adc line breaks as necessary. */
+      /* Add line breaks as necessary. */
       if (break_lines && *linelen == BASE64_LINELEN)
         {
           svn_stringbuf_appendbyte(str, '\n');



Mime
View raw message