emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108059: * gnutls.c (emacs_gnutls_


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108059: * gnutls.c (emacs_gnutls_handshake): Only retry if
Date: Tue, 26 Jun 2012 11:39:52 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108059
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Tue 2012-06-26 11:39:52 +0200
message:
  * gnutls.c (emacs_gnutls_handshake): Only retry if
  GNUTLS_E_INTERRUPTED.
modified:
  src/ChangeLog
  src/gnutls.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-23 11:07:01 +0000
+++ b/src/ChangeLog     2012-06-26 09:39:52 +0000
@@ -1,3 +1,8 @@
+2012-06-26  Andreas Schwab  <address@hidden>
+
+       * gnutls.c (emacs_gnutls_handshake): Only retry if
+       GNUTLS_E_INTERRUPTED.
+
 2012-06-23  Eli Zaretskii  <address@hidden>
 
        * ralloc.c (r_alloc_inhibit_buffer_relocation): Fix stupid thinko

=== modified file 'src/gnutls.c'
--- a/src/gnutls.c      2012-04-10 07:59:14 +0000
+++ b/src/gnutls.c      2012-06-26 09:39:52 +0000
@@ -319,7 +319,7 @@
       ret = fn_gnutls_handshake (state);
       emacs_gnutls_handle_error (state, ret);
     }
-  while (ret < 0 && fn_gnutls_error_is_fatal (ret) == 0);
+  while (ret == GNUTLS_E_INTERRUPTED);
 
   proc->gnutls_initstage = GNUTLS_STAGE_HANDSHAKE_TRIED;
 


reply via email to

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