Explorar o código

Fix comment typo in tor_memeq

Robert Ransom %!s(int64=11) %!d(string=hai) anos
pai
achega
1e5cd1c7d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/di_ops.c

+ 1 - 1
src/common/di_ops.c

@@ -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
    */