Limpieza de la sesión cuando la conexión falla.
parent
a965af97b4
commit
8af5eaa681
|
@ -377,7 +377,11 @@ int _smtp_session_internal_connect_cont (SMTPSession *session) {
|
||||||
return SMTP_ERROR;
|
return SMTP_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: Revisar el valor de optval */
|
if (optval != 0) {
|
||||||
|
smtp_session_close_and_clean (session);
|
||||||
|
|
||||||
|
return SMTP_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pasamos a la lectura del banner */
|
/* Pasamos a la lectura del banner */
|
||||||
session->internal = SMTP_INTERNAL_READ;
|
session->internal = SMTP_INTERNAL_READ;
|
||||||
|
|
Loading…
Reference in New Issue