* gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.
This commit is contained in:
parent
d860baa0c3
commit
77abcbc241
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue