summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-02-24 07:50:38 +0000
committerRoger Dingledine <arma@torproject.org>2007-02-24 07:50:38 +0000
commit50f22e858a2045649984a4f7c863f22106efcd95 (patch)
treec471be0f9b68ef5f59304b9fe5d7bc34f6573f29 /src/or/routerlist.c
parentf599adf40ad702f26680ab6a7bbf869c788dd860 (diff)
downloadtor-50f22e858a2045649984a4f7c863f22106efcd95.tar.gz
tor-50f22e858a2045649984a4f7c863f22106efcd95.zip
doc pedant
svn:r9634
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 630a36f98e..1408b77502 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -216,7 +216,7 @@ router_append_to_journal(signed_descriptor_t *desc)
/** Sorting helper: return &lt;0, 0, or &gt;0 depending on whether the
* signed_descriptor_t* in *<b>a</b> is older, the same age as, or newer than
- * the signed_descriptor_t* in *<b>b</b> */
+ * the signed_descriptor_t* in *<b>b</b>. */
static int
_compare_old_routers_by_age(const void **_a, const void **_b)
{
@@ -226,7 +226,7 @@ _compare_old_routers_by_age(const void **_a, const void **_b)
/** Sorting helper: return &lt;0, 0, or &gt;0 depending on whether the
* routerinfo_t* in *<b>a</b> is older, the same age as, or newer than
- * the routerinfo_t in *<b>b</b> */
+ * the routerinfo_t* in *<b>b</b>. */
static int
_compare_routers_by_age(const void **_a, const void **_b)
{
@@ -1999,7 +1999,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
}
}
- /* We haven't seen a router with this idntity before. Add it to the end of
+ /* We haven't seen a router with this identity before. Add it to the end of
* the list. */
routerlist_insert(routerlist, router);
if (!from_cache)
@@ -2009,8 +2009,8 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
}
/** Sorting helper: return &lt;0, 0, or &gt;0 depending on whether the
- * signed_descriptor_t* in *<b>a</b> has an identity digest preceeding, equal
- * to, or later than that of <b>b</b>. */
+ * signed_descriptor_t* in *<b>a</b> has an identity digest preceding, equal
+ * to, or later than that of *<b>b</b>. */
static int
_compare_old_routers_by_identity(const void **_a, const void **_b)
{
@@ -4144,9 +4144,9 @@ routerstatus_count_usable_entries(smartlist_t *entries)
/** True iff, the last time we checked whether we had enough directory info
* to build circuits, the answer was "yes". */
static int have_min_dir_info = 0;
-/** True iff enough has changes since the last time we checked whether we had
+/** True iff enough has changed since the last time we checked whether we had
* enough directory info to build circuits that our old answer can no longer
- * be trusted. */
+ * be trusted. */
static int need_to_update_have_min_dir_info = 1;
/** Return true iff we have enough networkstatus and router information to