emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107244: * gnutls.c (emacs_gnutls_wri


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107244: * gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.
Date: Sat, 11 Feb 2012 18:06:14 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107244
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2012-02-11 18:06:14 +0100
message:
  * gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.
modified:
  src/ChangeLog
  src/gnutls.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-02-11 09:50:27 +0000
+++ b/src/ChangeLog     2012-02-11 17:06:14 +0000
@@ -1,3 +1,7 @@
+2012-02-11  Lars Ingebrigtsen  <address@hidden>
+
+       * gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails.
+
 2012-02-11  Eli Zaretskii  <address@hidden>
 
        * w32select.c (Fx_selection_exists_p): Sync doc string and

=== modified file 'src/gnutls.c'
--- a/src/gnutls.c      2012-01-29 03:08:15 +0000
+++ b/src/gnutls.c      2012-02-11 17:06:14 +0000
@@ -363,7 +363,7 @@
 
       if (rtnval < 0)
        {
-         if (rtnval == GNUTLS_E_AGAIN || rtnval == GNUTLS_E_INTERRUPTED)
+         if (rtnval == GNUTLS_E_INTERRUPTED)
            continue;
          else
            break;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]