Skip to content
Snippets Groups Projects
Commit a48b7224 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

Ancient gcc does not like you when you declare variables in the middle of a block

svn:r5437
parent b9d37a2d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment