diff options
author | Christian Pointner <equinox@anylike.org> | 2010-01-03 00:45:04 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2010-01-03 00:45:04 +0000 |
commit | c19f15a437c9c2273609367dc37fd4a709cb5adc (patch) | |
tree | a10c93c07a7d726c323e42b5abe61390d7531350 | |
parent | fixed Readme (configuer --use-openssl) (diff) |
finally found the gnutls_strerror function ;)
-rw-r--r-- | src/anylike.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anylike.c b/src/anylike.c index 86d055d..855a072 100644 --- a/src/anylike.c +++ b/src/anylike.c @@ -64,7 +64,7 @@ int init_gnutls() { int ret = gnutls_global_init(); if(ret != GNUTLS_E_SUCCESS) { - log_printf(ERROR, "gnutls_global_init() returned with error 0x%04X", ret); + log_printf(ERROR, "gnutls_global_init() returned with error: %s", gnutls_strerror(ret)); return -1; } |