Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF77F108E1 for ; Thu, 22 Aug 2013 11:43:39 +0000 (UTC) Received: (qmail 78071 invoked by uid 500); 22 Aug 2013 11:43:39 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 77954 invoked by uid 500); 22 Aug 2013 11:43:33 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 77939 invoked by uid 99); 22 Aug 2013 11:43:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 11:43:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 11:43:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D41202388831; Thu, 22 Aug 2013 11:43:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1516422 - /subversion/trunk/subversion/libsvn_repos/reporter.c Date: Thu, 22 Aug 2013 11:43:04 -0000 To: commits@subversion.apache.org From: ivan@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130822114304.D41202388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;