use proper uintptr_t cast to fix warning
replace ptoid() with a uintptr_t cast
Merge branch 'master' of ssh.poolp.org:/git/opensmtpd
a session may be closed while we're in mfa, do not fatal on return