Don't signal errors on E_AGAIN

* src/gnutls.c (Fgnutls_errorp): Qgnutls_e_again is not an
error now that TLS is async.
This commit is contained in:
Lars Magne Ingebrigtsen 2016-03-06 10:22:37 +01:00
parent 21b509d444
commit 20cc418259

View 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;
}