diff options
author | m0gg | 2006-11-25 17:03:20 +0000 |
---|---|---|
committer | m0gg | 2006-11-25 17:03:20 +0000 |
commit | c8705844bd924e8e00bc79ec0f4ae92c85f7e48e (patch) | |
tree | b76fca4152232bab3c10ae06887b705850a7aed8 /nanohttp/nanohttp-logging.c | |
parent | 48873b11cc7f101bd5f3eb74fedacce40e73dd91 (diff) | |
download | csoap-c8705844bd924e8e00bc79ec0f4ae92c85f7e48e.tar.gz csoap-c8705844bd924e8e00bc79ec0f4ae92c85f7e48e.tar.bz2 |
Code cleanup
Diffstat (limited to 'nanohttp/nanohttp-logging.c')
-rw-r--r-- | nanohttp/nanohttp-logging.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nanohttp/nanohttp-logging.c b/nanohttp/nanohttp-logging.c index 7e19d2c..5e1244d 100644 --- a/nanohttp/nanohttp-logging.c +++ b/nanohttp/nanohttp-logging.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-logging.c,v 1.1 2006/07/09 16:22:52 snowdrop Exp $ +* $Id: nanohttp-logging.c,v 1.2 2006/11/25 17:03:20 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -81,14 +81,12 @@ hlog_set_level(log_level_t level) return old; } - log_level_t hlog_get_level(void) { return loglevel; } - void hlog_set_file(const char *filename) { @@ -96,16 +94,20 @@ hlog_set_file(const char *filename) strncpy(logfile, filename, 75); else logfile[0] = '\0'; + + return; } void hlog_set_background(int state) { log_background = state; + + return; } char * -hlog_get_file() +hlog_get_file(void) { if (logfile[0] == '\0') return NULL; @@ -151,6 +153,8 @@ _log_write(log_level_t level, const char *prefix, } } } + + return; } void |