Yield a real error in the bug case of sandbox_getaddrinfo()

This commit is contained in:
Nick Mathewson 2014-06-11 11:00:56 -04:00
parent e425fc7804
commit b883b8d1a5

View File

@ -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