GNUTLS_E_AGAIN strerror

Simon Josefsson simon at josefsson.org
Mon Oct 13 10:02:10 CEST 2008


"Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi.nlm.nih.gov> writes:

> Hi,
>
> May I request that GNUTLS_E_AGAIN text description as returned by
> gnutls_strerror() be
> changed from "Function was interrupted" to something more like "Try
> again".
> ("Function was interrupted" seems to be a cut-n-paste of
> GNUTLS_E_INTERRUPTED, where
> it rightfully belong.)  Source: gnutls_errors.c:159-160 as of gnutls
> 2.6.0.

Hi.  Good idea.  strerror(EAGAIN) returns 'Resource temporarily
unavailable' on my system, so I changed the text to contain that too.

I've pushed this change:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=d6b002abeeea95d3c8faf870fff859e2164353d9

/Simon





More information about the Gnutls-devel mailing list