]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix comment typo in tor_memeq
authorRobert Ransom <rransom.8774@gmail.com>
Mon, 17 Sep 2012 15:13:09 +0000 (11:13 -0400)
committerRobert Ransom <rransom.8774@gmail.com>
Mon, 17 Sep 2012 15:13:09 +0000 (11:13 -0400)
src/common/di_ops.c

index 7683c59dee1aeff9cb67dabf587c52fe5e175ad6..418d6e3dca88d0c5cf03bfb122eed8460ddc08ba 100644 (file)
@@ -123,7 +123,7 @@ tor_memeq(const void *a, const void *b, size_t sz)
    *
    * If any_difference != 0:
    *            0 < any_difference < 256, so
-   *            0 < any_difference - 1 < 255
+   *            0 <= any_difference - 1 < 255
    *            (any_difference - 1) >> 8 == 0
    *            1 & ((any_difference - 1) >> 8) == 0
    */