Commit 77abcbc2 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

* gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.

parent d860baa0
2012-02-11 Lars Ingebrigtsen <larsi@gnus.org>
* gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.
2012-02-11 Eli Zaretskii <eliz@gnu.org>
* w32select.c (Fx_selection_exists_p): Sync doc string and
......
......@@ -363,7 +363,7 @@ emacs_gnutls_write (struct Lisp_Process *proc, const char *buf, EMACS_INT nbyte)
if (rtnval < 0)
{
if (rtnval == GNUTLS_E_AGAIN || rtnval == GNUTLS_E_INTERRUPTED)
if (rtnval == GNUTLS_E_INTERRUPTED)
continue;
else
break;
......
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