summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/session.c b/lib/session.c
index 736b56f759..755864d93b 100644
--- a/lib/session.c
+++ b/lib/session.c
@@ -322,8 +322,7 @@ char *gnutls_session_get_desc(gnutls_session_t session)
(session)),
gnutls_certificate_type_get_name(type));
- gnutls_protocol_get_name(get_num_version(session)),
- desc = gnutls_malloc(DESC_SIZE);
+ desc = gnutls_malloc(DESC_SIZE);
if (desc == NULL)
return NULL;