Re: [PATCH 2/3] sha1: clean pointer arithmetic
- From
Bruce Korb <bruce.korb@gmail.com>
- Date
- Sep 12, 2012, 21:25 UTC
- Message-ID
- <CAKRnqNJaG4Nw2AVMmSsweBzeNbkPKYQ+TUuGc_B2M464y6jbHA@mail.gmail.com>
- In-Reply-To
- <1347483030.1961.13.camel@test.quest-ce.net>
On Wed, Sep 12, 2012 at 1:50 PM, Yann Droneaud <ydroneaud@opteya.com> wrote:
Show 8 quoted lines
>> Both are correct. Aren't ctx->w[lenW] and lenW[ctx-w] both correct, >> even? >> > > "correct" in my commit log message should be read as "the way it's used > by most C developer". > > It's again a cosmetic fix.
It's a maintenance fix. The fewer distractions, the easier it is to understand. "lenW[ctx-w]" is distracting.