subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1516422 - /subversion/trunk/subversion/libsvn_repos/reporter.c
Date Thu, 22 Aug 2013 11:43:04 GMT
Author: ivan
Date: Thu Aug 22 11:43:04 2013
New Revision: 1516422

URL: http://svn.apache.org/r1516422
Log:
* subversion/libsvn_repos/reporter.c
  (get_revision_info): Use sizeof() of passed value, not other local 
   variable of the same type.

Modified:
    subversion/trunk/subversion/libsvn_repos/reporter.c

Modified: subversion/trunk/subversion/libsvn_repos/reporter.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/reporter.c?rev=1516422&r1=1516421&r2=1516422&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/reporter.c (original)
+++ subversion/trunk/subversion/libsvn_repos/reporter.c Thu Aug 22 11:43:04 2013
@@ -499,7 +499,7 @@ get_revision_info(report_baton_t *b,
       info->author = author ? svn_string_dup(author, b->pool) : NULL;
 
       /* Cache it */
-      apr_hash_set(b->revision_infos, &info->rev, sizeof(rev), info);
+      apr_hash_set(b->revision_infos, &info->rev, sizeof(info->rev), info);
     }
 
   *revision_info = info;



Mime
View raw message