summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-09 15:27:15 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-09 15:27:15 +0000
commitbb9cc4fb2960e8b6cda6a0a7584bcda534625f93 (patch)
tree680aa2f434abeb92c781130bc1fc1e4e41ca7fda /src/or/control.c
parentff19400cb0d8c558c6e7a8937cd759bc9a76d795 (diff)
downloadtor-bb9cc4fb2960e8b6cda6a0a7584bcda534625f93.tar.gz
tor-bb9cc4fb2960e8b6cda6a0a7584bcda534625f93.zip
r14812@Kushana: nickm | 2007-10-09 10:22:00 -0400
Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale. svn:r11799
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/control.c b/src/or/control.c
index fa2ba855bc..65bcaa01bc 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -3378,7 +3378,7 @@ control_event_or_authdir_new_descriptor(const char *action,
return 0;
}
-/** Called when the local_routerstatus_ts <b>statuses</b> have changed: sends
+/** Called when the routerstatus_ts <b>statuses</b> have changed: sends
* an NS event to any controller that cares. */
int
control_event_networkstatus_changed(smartlist_t *statuses)
@@ -3390,9 +3390,9 @@ control_event_networkstatus_changed(smartlist_t *statuses)
strs = smartlist_create();
smartlist_add(strs, tor_strdup("650+NS\r\n"));
- SMARTLIST_FOREACH(statuses, local_routerstatus_t *, rs,
+ SMARTLIST_FOREACH(statuses, routerstatus_t *, rs,
{
- s = networkstatus_getinfo_helper_single(&rs->status);
+ s = networkstatus_getinfo_helper_single(rs);
if (!s) continue;
smartlist_add(strs, s);
});
@@ -3413,7 +3413,7 @@ control_event_networkstatus_changed(smartlist_t *statuses)
/** Called when a single local_routerstatus_t has changed: Sends an NS event
* to any countroller that cares. */
int
-control_event_networkstatus_changed_single(local_routerstatus_t *rs)
+control_event_networkstatus_changed_single(routerstatus_t *rs)
{
smartlist_t *statuses;
int r;