aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-09-14 05:17:02 +0000
committerPeter Palfrader <peter@palfrader.org>2006-09-14 05:17:02 +0000
commit2cf6cfe1898d59cbd1cc603ee12f2cc37c8fe1f8 (patch)
tree847678858e85787cc8d7245130d78c2ab1592d95
parent7fcec095607ea9453f224f6caa0e280f526b0ac8 (diff)
downloadtor-2cf6cfe1898d59cbd1cc603ee12f2cc37c8fe1f8.tar.gz
tor-2cf6cfe1898d59cbd1cc603ee12f2cc37c8fe1f8.zip
r9758@danube: weasel | 2006-09-14 07:10:12 +0200
Add a comment svn:r8391
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 5b7b01c130..24c8278367 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -842,6 +842,7 @@ router_rebuild_descriptor(int force)
tor_free(name);
});
+ /* remove duplicates from the list */
smartlist_sort_strings(ri->declared_family);
for (i = 1; i < smartlist_len(ri->declared_family); ++i) {
const char *a, *b;