mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
fix compile complaints (and a bug)
svn:r4862
This commit is contained in:
parent
e24d540d81
commit
53431a4950
2 changed files with 1 additions and 2 deletions
|
@ -337,7 +337,6 @@ int
|
|||
dirserv_add_descriptor(const char *desc, const char **msg)
|
||||
{
|
||||
routerinfo_t *ri = NULL;
|
||||
size_t desc_len;
|
||||
tor_assert(msg);
|
||||
*msg = NULL;
|
||||
|
||||
|
|
|
@ -329,7 +329,7 @@ init_keys(void)
|
|||
log_fn(LOG_ERR, "Error adding own fingerprint to approved set");
|
||||
return -1;
|
||||
}
|
||||
if (dirserv_add_descriptor(&tmp, &m) != 1) {
|
||||
if (dirserv_add_descriptor(tmp, &m) != 1) {
|
||||
log(LOG_ERR, "Unable to add own descriptor to directory: %s",
|
||||
m?m:"<unknown error>");
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue