diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-03 18:33:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-03 18:33:07 +0000 |
commit | 451f8b50452ae44c4319cfe55c666a45b9994e9f (patch) | |
tree | d88f565d8f7f74253af9d2a721978737b157782a /src/or/dirserv.c | |
parent | 86ba00290b4e1f7095c1d34c46ac5b61273953be (diff) | |
download | tor-451f8b50452ae44c4319cfe55c666a45b9994e9f.tar.gz tor-451f8b50452ae44c4319cfe55c666a45b9994e9f.zip |
- Implement all of control interface except authentication, setconfig,
and actually making the sockets.
- Make sure that identity-based nicknames start with $.
- Use new string_join interface.
svn:r2661
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 2483efc74d..56c1446f1a 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -523,9 +523,9 @@ list_server_status(char **running_routers_out, char **router_status_out) }); if (running_routers_out) - *running_routers_out = smartlist_join_strings(rr_entries, " ", 0); + *running_routers_out = smartlist_join_strings(rr_entries, " ", 0,NULL); if (router_status_out) - *router_status_out = smartlist_join_strings(rs_entries, " ", 0); + *router_status_out = smartlist_join_strings(rs_entries, " ", 0,NULL); SMARTLIST_FOREACH(rr_entries, char *, cp, tor_free(cp)); SMARTLIST_FOREACH(rs_entries, char *, cp, tor_free(cp)); @@ -611,7 +611,7 @@ dirserv_dump_directory_to_string(char *s, size_t maxlen, smartlist_split_string(versions, ln->value, ",", SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0); } - recommended_versions = smartlist_join_strings(versions,",",0); + recommended_versions = smartlist_join_strings(versions,",",0,NULL); SMARTLIST_FOREACH(versions,char *,s,tor_free(s)); smartlist_free(versions); } |