summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-11 16:32:30 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-11 16:32:30 -0400
commit8fb38331c3213caef2d2e003e02cdb361504f14f (patch)
treea88cbac5893169b1a955543828b2db0aa85d00bb /src/or/routerparse.c
parent0cbcbc3412b667537b6ec54da0a4c9173a19d6de (diff)
downloadtor-8fb38331c3213caef2d2e003e02cdb361504f14f.tar.gz
tor-8fb38331c3213caef2d2e003e02cdb361504f14f.zip
Hand-tune the new tor_memcmp instances in 0.2.2
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 12d1dfe52e..389f22fd99 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -4538,7 +4538,7 @@ tor_version_compare(tor_version_t *a, tor_version_t *b)
else if ((i = a->git_tag_len - b->git_tag_len))
return i;
else if (a->git_tag_len)
- return tor_memcmp(a->git_tag, b->git_tag, a->git_tag_len);
+ return fast_memcmp(a->git_tag, b->git_tag, a->git_tag_len);
else
return 0;
}