Tree
- Tree:
0b9df7b7c33e1258af78e4d81198e9890df32fca
- Date:
- Message:
- work around missing LOGIN_NAME_MAX Both Linux and OpenBSD have LOGIN_NAME_MAX available when including limits.h, FreeBSD, Darwin and possibly others don't. FreeBSD (and maybe Darwin) have MAXLOGNAME, so try to use that if available. Otherwise use _POSIX_LOGIN_NAME_MAX, but only has a fallback since it has a lower value (9 at the time of writing). If everything fails, use 32 which is what OpenBSD use by default; OpenSMTPd also defaults to it. See also github issue #1
Makefile.am | commits | blame |
kamiproxy.1 | commits | blame |
proxy.c | commits | blame |