mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Yield a real error in the bug case of sandbox_getaddrinfo()
This commit is contained in:
parent
e425fc7804
commit
b883b8d1a5
@ -1397,7 +1397,7 @@ sandbox_getaddrinfo(const char *name, const char *servname,
|
||||
|
||||
/* getting here means something went wrong */
|
||||
log_err(LD_BUG,"(Sandbox) failed to get address %s!", name);
|
||||
return -1;
|
||||
return EAI_NONAME;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user