summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-21 09:01:32 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-21 09:01:32 +0000
commitb3c0d066e535d33d9ed271e92eb30cdefb18385e (patch)
tree9ce0e2aac1bdc8e5b5fca86629ffac57ccd71095 /src/or
parenta60f7caa5490a38bd67d01ae65fb08c51250cd87 (diff)
downloadtor-b3c0d066e535d33d9ed271e92eb30cdefb18385e.tar.gz
tor-b3c0d066e535d33d9ed271e92eb30cdefb18385e.zip
other cleanups that have been sitting in my sandbox
svn:r13649
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c2
-rw-r--r--src/or/geoip.c4
-rw-r--r--src/or/routerlist.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 75e88bfe3a..ba5ccaa90a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2446,7 +2446,7 @@ options_init(or_options_t *options)
config_init(&options_format, options);
}
-/** Set all vars in the configuration object 'options' to their default
+/** Set all vars in the configuration object <b>options</b> to their default
* values. */
static void
config_init(config_format_t *fmt, void *options)
diff --git a/src/or/geoip.c b/src/or/geoip.c
index 9f93159e30..49f1746b52 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -296,8 +296,8 @@ geoip_get_history_start(void)
/** Helper type: used to sort per-country totals by value. */
typedef struct c_hist_t {
- char country[3]; /**< two-leter country code. */
- unsigned total; /**< total ips seen in this country. */
+ char country[3]; /**< Two-letter country code. */
+ unsigned total; /**< Total IP addresses seen in this country. */
} c_hist_t;
/** Sorting helper: return -1, 1, or 0 based on comparison of two
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index d6a4316f24..3a2d0e8158 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3939,7 +3939,7 @@ update_consensus_router_descriptor_downloads(time_t now)
log_info(LD_DIR,
"%d router descriptors downloadable. %d delayed; %d present "
"(%d of those were in old_routers); %d would_reject; "
- "%d wouldnt_use, %d in progress.",
+ "%d wouldnt_use; %d in progress.",
smartlist_len(downloadable), n_delayed, n_have, n_in_oldrouters,
n_would_reject, n_wouldnt_use, n_inprogress);