X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=debug.c;fp=debug.c;h=2b2e07d670c15a5c3edeb0397300ba233c7d8b78;hb=9989a0a7b4f52da41334a11ae28dc232aa7bac0b;hp=80173f58ab89bcbda71e7b1e4cda9a428a9b6051;hpb=671b8f12f456f89f0432d983619d68516b8e0cb1;p=libradsec.git diff --git a/debug.c b/debug.c index 80173f5..2b2e07d 100644 --- a/debug.c +++ b/debug.c @@ -24,7 +24,7 @@ static char *debug_ident = NULL; static uint8_t debug_level = DBG_INFO; static FILE *debug_file = NULL; static int debug_syslogfacility = 0; -static uint8_t debug_timestamp = 1; +static uint8_t debug_timestamp = 0; void debug_init(char *ident) { debug_file = stderr; @@ -49,8 +49,8 @@ void debug_set_level(uint8_t level) { } } -void debug_no_timestamp() { - debug_timestamp = 0; +void debug_timestamp_on() { + debug_timestamp = 1; } uint8_t debug_get_level() {