]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't signal errors on E_AGAIN
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 6 Mar 2016 09:22:37 +0000 (10:22 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 6 Mar 2016 09:22:37 +0000 (10:22 +0100)
* src/gnutls.c (Fgnutls_errorp): Qgnutls_e_again is not an
error now that TLS is async.

src/gnutls.c

index db22c924f0cb3841ec282053e2794a486a7150c5..a9a912eb4a4e87364ceab7d83bdc94c0d972ea86 100644 (file)
@@ -719,7 +719,9 @@ usage: (gnutls-errorp ERROR)  */
        attributes: const)
   (Lisp_Object err)
 {
-  if (EQ (err, Qt)) return Qnil;
+  if (EQ (err, Qt)
+      || EQ (err, Qgnutls_e_again))
+    return Qnil;
 
   return Qt;
 }