diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-04-10 07:40:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-04-10 07:40:39 +0000 |
commit | eb3e28ba79e5e0e9f16a67934a7f8b3479df41b9 (patch) | |
tree | 732ded61f89289a678ba41f007d828896a8c73d8 | |
parent | 98a27b07f95d7d1148a36f65630d285d369dd837 (diff) | |
download | tor-eb3e28ba79e5e0e9f16a67934a7f8b3479df41b9.tar.gz tor-eb3e28ba79e5e0e9f16a67934a7f8b3479df41b9.zip |
Oops. _compare_tor_version_str_ptr wants ptr-to-ptr. Ow.
svn:r6354
-rw-r--r-- | src/or/routerparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 240390bb52..5f79d951df 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1935,12 +1935,12 @@ sort_version_list(smartlist_t *versions, int remove_duplicates) return; for (i = 1; i < smartlist_len(versions); ++i) { - void *a, *b; + char *a, *b; a = smartlist_get(versions, i-1); b = smartlist_get(versions, i); /* use version_cmp so we catch multiple representations of the same * version */ - if (_compare_tor_version_str_ptr(a,b) == 0) { + if (_compare_tor_version_str_ptr(&a,&b) == 0) { tor_free(smartlist_get(versions, i)); smartlist_del_keeporder(versions, i--); } |