Ver código fonte

Fix comment typo in tor_memeq

Robert Ransom 11 anos atrás
pai
commit
1e5cd1c7d6
1 arquivos alterados com 1 adições e 1 exclusões
  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
    */