diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-01 18:39:45 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-01 18:39:45 +0000 |
commit | d36c5c143c94c6ee3d165a80ca2c7979e03db9ca (patch) | |
tree | 43716259f0f3d72974052f40b08ef930cd2bb8c7 /lib/gnutls_errors.c | |
parent | af15da7a2d647bc1c22ff4b268dce0116ba98266 (diff) | |
download | gnutls-d36c5c143c94c6ee3d165a80ca2c7979e03db9ca.tar.gz |
A new patch by Arne. More bug fixes and optimizations.
Diffstat (limited to 'lib/gnutls_errors.c')
-rw-r--r-- | lib/gnutls_errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index 02e5e82fac..74901d017a 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -189,7 +189,7 @@ void gnutls_perror(int error) /* avoid prefix */ GNUTLS_ERROR_ALG_LOOP(ret = p->desc); - + if (ret == NULL) ret = "(unknown)"; fprintf(stderr, "GNUTLS ERROR: %s\n", ret); } |