Fixed hang on SMTP server failure.
This commit is contained in:
parent
fe6bc3568e
commit
72246fedb5
|
@ -8,6 +8,10 @@
|
||||||
appropriately.
|
appropriately.
|
||||||
(toolbar_reply_to_author_cb): handle the new button.
|
(toolbar_reply_to_author_cb): handle the new button.
|
||||||
|
|
||||||
|
* src/send.c (SEND_EXIT_IF_ERROR, SEND_EXIT_IF_NOTOK): call
|
||||||
|
send_progress_dialog_destroy() on failure (fixes hang on SMTP
|
||||||
|
failure).
|
||||||
|
|
||||||
2001-05-19 [sergey]
|
2001-05-19 [sergey]
|
||||||
|
|
||||||
* src/compose.h (ComposeReplyMode): new modes
|
* src/compose.h (ComposeReplyMode): new modes
|
||||||
|
|
|
@ -239,6 +239,7 @@ gint send_message_queue(const gchar *file)
|
||||||
log_warning("Error occurred while %s\n", s); \
|
log_warning("Error occurred while %s\n", s); \
|
||||||
sock_close(smtp_sock); \
|
sock_close(smtp_sock); \
|
||||||
smtp_sock = NULL; \
|
smtp_sock = NULL; \
|
||||||
|
send_progress_dialog_destroy(dialog); \
|
||||||
return -1; \
|
return -1; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
@ -251,6 +252,7 @@ gint send_message_queue(const gchar *file)
|
||||||
log_warning("Error occurred while sending QUIT\n"); \
|
log_warning("Error occurred while sending QUIT\n"); \
|
||||||
sock_close(smtp_sock); \
|
sock_close(smtp_sock); \
|
||||||
smtp_sock = NULL; \
|
smtp_sock = NULL; \
|
||||||
|
send_progress_dialog_destroy(dialog); \
|
||||||
return -1; \
|
return -1; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue