mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Ancient gcc does not like you when you declare variables in the middle of a block
svn:r5437
This commit is contained in:
parent
b9d37a2d58
commit
a48b722432
@ -464,9 +464,10 @@ dirserv_add_descriptor(const char *desc, const char **msg)
|
||||
control_event_or_authdir_new_descriptor("REJECTED", desc, *msg);
|
||||
return r == -1 ? 0 : -1;
|
||||
} else {
|
||||
smartlist_t *changed;
|
||||
control_event_or_authdir_new_descriptor("ACCEPTED", desc, *msg);
|
||||
|
||||
smartlist_t *changed = smartlist_create();
|
||||
changed = smartlist_create();
|
||||
smartlist_add(changed, ri);
|
||||
control_event_descriptors_changed(changed);
|
||||
smartlist_free(changed);
|
||||
|
Loading…
Reference in New Issue
Block a user