aboutsummaryrefslogtreecommitdiff
path: root/src/common/di_ops.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-09-17 11:13:09 -0400
committerRobert Ransom <rransom.8774@gmail.com>2012-09-17 11:13:09 -0400
commit1e5cd1c7d6f45456c5e7c1b288e5e02e7c02b377 (patch)
tree15ac380a2dbc6d1acfa09d8410ab681f73325b1d /src/common/di_ops.c
parent757b3b259eba27881a8b5616ba45d42798c1ade8 (diff)
downloadtor-1e5cd1c7d6f45456c5e7c1b288e5e02e7c02b377.tar
tor-1e5cd1c7d6f45456c5e7c1b288e5e02e7c02b377.tar.gz
Fix comment typo in tor_memeq
Diffstat (limited to 'src/common/di_ops.c')
-rw-r--r--src/common/di_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/di_ops.c b/src/common/di_ops.c
index 7683c59de..418d6e3dc 100644
--- a/src/common/di_ops.c
+++ b/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
*/