summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-27 02:26:11 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-27 02:26:11 +0000
commitf89272be357c00f9a04826802014fa8b1a12385e (patch)
treea519f7f9e6f140cafdbef435c243ca4989ac440c /src/log.h
parent627c88c73694c403d00db7f62447cfe356cd299f (diff)
downloadtinyproxy-f89272be357c00f9a04826802014fa8b1a12385e.tar.gz
tinyproxy-f89272be357c00f9a04826802014fa8b1a12385e.zip
Changed the log() function to log_message().
Diffstat (limited to '')
-rw-r--r--src/log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/log.h b/src/log.h
index 2f6b00b..5e3c80e 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,4 +1,4 @@
-/* $Id: log.h,v 1.3 2000-09-21 16:53:51 rjkaes Exp $
+/* $Id: log.h,v 1.4 2001-05-27 02:26:11 rjkaes Exp $
*
* See 'log.c' for a detailed description.
*
@@ -82,13 +82,13 @@
* DEBUG2("There was a big problem: %s in connptr %p", "hello", connptr);
*/
#ifndef NDEBUG
-# define DEBUG1(x) log(LOG_DEBUG, "[%s:%d] " x, __FILE__, __LINE__)
-# define DEBUG2(x, y...) log(LOG_DEBUG, "[%s:%d] " x, __FILE__, __LINE__, ## y)
+# define DEBUG1(x) log_message(LOG_DEBUG, "[%s:%d] " x, __FILE__, __LINE__)
+# define DEBUG2(x, y...) log_message(LOG_DEBUG, "[%s:%d] " x, __FILE__, __LINE__, ## y)
#else
# define DEBUG1(x) do { } while(0)
# define DEBUG2(x, y...) do { } while(0)
#endif
-extern void log(short int level, char *fmt, ...);
+extern void log_message(short int level, char *fmt, ...);
#endif