summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-07-31 05:10:35 -0400
committerRoger Dingledine <arma@torproject.org>2012-07-31 05:10:35 -0400
commitaa985598f5914a1b858bf63536dd48ac8d7e0b33 (patch)
tree2ac4203f1e2e2bbfb9e30e8f721c86de0bf8e180 /src/or/routerparse.c
parent20c1d3d587984768a9f35edc6708e7f99104401f (diff)
parent1004489354685e7fe27df7fe7fdb9cc94f2d7d2d (diff)
downloadtor-aa985598f5914a1b858bf63536dd48ac8d7e0b33.tar.gz
tor-aa985598f5914a1b858bf63536dd48ac8d7e0b33.zip
Merge branch 'maint-0.2.3' into release-0.2.3
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 37609bddc1..4231a17c67 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -775,7 +775,7 @@ tor_version_is_obsolete(const char *myversion, const char *versionlist)
goto done;
}
- SMARTLIST_FOREACH(version_sl, const char *, cp, {
+ SMARTLIST_FOREACH_BEGIN(version_sl, const char *, cp) {
if (!strcmpstart(cp, "Tor "))
cp += 4;
@@ -797,7 +797,7 @@ tor_version_is_obsolete(const char *myversion, const char *versionlist)
found_older = 1;
}
}
- });
+ } SMARTLIST_FOREACH_END(cp);
/* We didn't find the listed version. Is it new or old? */
if (found_any_in_series && !found_newer_in_series && found_newer) {