Commit 57570cd3 authored by Andreas Schwab's avatar Andreas Schwab

* gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT

to make the loop interruptible.
parent d01fd55f
2012-06-28 Andreas Schwab <schwab@linux-m68k.org>
* gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT
to make the loop interruptible.
2012-06-26 Andreas Schwab <schwab@linux-m68k.org>
* gnutls.c (emacs_gnutls_handshake): Only retry if
......
......@@ -318,8 +318,9 @@ emacs_gnutls_handshake (struct Lisp_Process *proc)
{
ret = fn_gnutls_handshake (state);
emacs_gnutls_handle_error (state, ret);
QUIT;
}
while (ret == GNUTLS_E_INTERRUPTED);
while (ret < 0 && fn_gnutls_error_is_fatal (ret) == 0);
proc->gnutls_initstage = GNUTLS_STAGE_HANDSHAKE_TRIED;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment