mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 14:43:46 +01:00
add an XXX with a minor bug in dirserv_add_multiple_descriptors
This commit is contained in:
parent
9f5b71a7ca
commit
0266c4ac81
@ -571,6 +571,8 @@ dirserv_add_multiple_descriptors(const char *desc, uint8_t purpose,
|
|||||||
!general ? router_purpose_to_string(purpose) : "",
|
!general ? router_purpose_to_string(purpose) : "",
|
||||||
!general ? "\n" : "")<0) {
|
!general ? "\n" : "")<0) {
|
||||||
*msg = "Couldn't format annotations";
|
*msg = "Couldn't format annotations";
|
||||||
|
/* XXX Not cool: we return -1 below, but (was_router_added_t)-1 is
|
||||||
|
* ROUTER_BAD_EI, which isn't what's gone wrong here. :( */
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user