diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-08-16 17:05:54 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-08-16 17:05:54 +0000 |
commit | 455087faaea688579584375308a696e602c1e8d2 (patch) | |
tree | 0561267e53811fed07f87590806be411cb96c694 /lib | |
parent | 31def9e2175d4d4ba3810f3781ca5110254ad6f9 (diff) |
Use gnutls_strerror() for clearer error message.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gtls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gtls.c b/lib/gtls.c index dc33dc600..b202adfd4 100644 --- a/lib/gtls.c +++ b/lib/gtls.c @@ -168,8 +168,7 @@ static CURLcode handshake(struct connectdata *conn, } while(1); if (rc < 0) { - failf(data, "gnutls_handshake() failed: %d", rc); - /* gnutls_perror(ret); */ + failf(data, "gnutls_handshake() failed: %s", gnutls_strerror(rc)); return CURLE_SSL_CONNECT_ERROR; } |