From 20cc4182598c6c724f4556faf6bc322c9e58ad1d Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 6 Mar 2016 10:22:37 +0100 Subject: [PATCH] Don't signal errors on E_AGAIN * src/gnutls.c (Fgnutls_errorp): Qgnutls_e_again is not an error now that TLS is async. --- src/gnutls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gnutls.c b/src/gnutls.c index db22c924f0c..a9a912eb4a4 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -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; } -- 2.39.5