aboutsummaryrefslogtreecommitdiff
path: root/src/or/geoip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r--src/or/geoip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index 5ad4df1f08..9f93159e30 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -294,10 +294,10 @@ geoip_get_history_start(void)
return client_history_starts;
}
-/* Helper type: used to sort results by value. */
+/** Helper type: used to sort per-country totals by value. */
typedef struct c_hist_t {
- char country[3];
- unsigned total;
+ char country[3]; /**< two-leter country code. */
+ unsigned total; /**< total ips seen in this country. */
} c_hist_t;
/** Sorting helper: return -1, 1, or 0 based on comparison of two