You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by bl...@apache.org on 2012/04/19 00:24:55 UTC
svn commit: r1327708 - /subversion/trunk/subversion/libsvn_subr/checksum.c
Author: blair
Date: Wed Apr 18 22:24:55 2012
New Revision: 1327708
URL: http://svn.apache.org/viewvc?rev=1327708&view=rev
Log:
Follow to up to r1327695, switch to C style comments.
Found by: gstein
* subversion/libsvn_subr/checksum.c:
Switch to C style comments.
Modified:
subversion/trunk/subversion/libsvn_subr/checksum.c
Modified: subversion/trunk/subversion/libsvn_subr/checksum.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/checksum.c?rev=1327708&r1=1327707&r2=1327708&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/checksum.c (original)
+++ subversion/trunk/subversion/libsvn_subr/checksum.c Wed Apr 18 22:24:55 2012
@@ -63,8 +63,8 @@ checksum_create(svn_checksum_kind_t kind
apr_size_t digest_size,
apr_pool_t *pool)
{
- // Use apr_palloc() instead of apr_pcalloc() so that the digest
- // contents are only set once by the caller.
+ /* Use apr_palloc() instead of apr_pcalloc() so that the digest
+ * contents are only set once by the caller. */
svn_checksum_t *checksum = apr_palloc(pool, sizeof(*checksum) + digest_size);
checksum->digest = (unsigned char *)checksum + sizeof(*checksum);
checksum->kind = kind;