diff options
author | Christian Pointner <equinox@anylike.org> | 2009-12-28 17:54:08 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2009-12-28 17:54:08 +0000 |
commit | 1501ec8b61c4226667307f10367485ed2e59ea5a (patch) | |
tree | cf08a4ba81943ff3efdcf408e45a58dc40f8e2d9 /src | |
parent | set gnutls log function (diff) |
fixed build gnutsl log func
Diffstat (limited to 'src')
-rw-r--r-- | src/anylike.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/anylike.c b/src/anylike.c index 70813de..6ae4703 100644 --- a/src/anylike.c +++ b/src/anylike.c @@ -49,7 +49,7 @@ #define MIN_GNUTLS_VERSION "2.8.3" -void gnutls_log_func(int level, const char* msg) +void anylike_gnutls_log_func(int level, const char* msg) { log_printf(DEBUG, msg); // TODO: convert level to proper log priority } @@ -68,7 +68,7 @@ int init_gnutls() return -1; } - gnutls_global_set_log_function(gnutls_log_func); + gnutls_global_set_log_function(anylike_gnutls_log_func); gnutls_global_set_log_level(11); // TODO: find a better level (this is very talky) log_printf(NOTICE, "gnutls init finished"); |