src/smtp.c (smtp_ok): fixed sock_gets() error handling.