summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-19 11:17:13 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-19 11:17:13 +0000
commit5d06b6a64918d38be816a764ae7e6144a0e8e38e (patch)
treea10660eb6aa5840a572128c079eea72c10dd700e /src
parent619181e8eaace84aec8e3ea0beec2e1d3f6e2e6a (diff)
downloadgnutls-5d06b6a64918d38be816a764ae7e6144a0e8e38e.tar.gz
* Improved the error logging functions, by adding a level, and
by allowing debugging messages just by increasing the level.
Diffstat (limited to 'src')
-rw-r--r--src/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index 1949d1b2e5..ffa3392c2c 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -562,9 +562,9 @@ int do_handshake(socket_st* socket)
}
-static void tls_log_func( const char* str)
+static void tls_log_func( int level, const char* str)
{
- fprintf(stderr, "|** %s", str);
+ fprintf(stderr, "|<%d>| %s", level, str);
}
void init_global_tls_stuff()