diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-19 11:17:13 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-19 11:17:13 +0000 |
commit | 5d06b6a64918d38be816a764ae7e6144a0e8e38e (patch) | |
tree | a10660eb6aa5840a572128c079eea72c10dd700e /src | |
parent | 619181e8eaace84aec8e3ea0beec2e1d3f6e2e6a (diff) | |
download | gnutls-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |