diff options
author | 2009-06-05 19:38:18 +0000 | |
---|---|---|
committer | 2009-06-05 19:38:18 +0000 | |
commit | 3452d7e1ca26ce4de7c98c77a85a7f3b2398b388 (patch) | |
tree | 22c809acab3d1228038fcbc6d3d9f15967e61f7c /sys | |
parent | bump MAX_IMSGSIZE to 16384, this will make smtpd happy later on. (diff) | |
download | wireguard-openbsd-3452d7e1ca26ce4de7c98c77a85a7f3b2398b388.tar.xz wireguard-openbsd-3452d7e1ca26ce4de7c98c77a85a7f3b2398b388.zip |
The yp_bind(3) return code now distinguishes "YP not active" from "an error
occurred". Based on this, decide to either bail or use the record as is.
Prevents getgrnam(3) and friends from silently skipping YP records
on system errors, for example when out of memory.
Also, calling yp_get_default_domain once is enough.
The first two switch cases are unchanged, just reindented.
ok millert@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions