summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-27 02:25:21 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-27 02:25:21 +0000
commit627c88c73694c403d00db7f62447cfe356cd299f (patch)
tree71c04b4eef22f93f9b18f452c0faa172bec6a4a3
parent69617f6d566c99338aed974ea8d960fb1d870b4d (diff)
downloadtinyproxy-627c88c73694c403d00db7f62447cfe356cd299f.tar.gz
tinyproxy-627c88c73694c403d00db7f62447cfe356cd299f.zip
Changed all the references to log() to log_message().
Diffstat (limited to '')
-rw-r--r--src/grammar.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/grammar.y b/src/grammar.y
index 4cc1261..e8600f0 100644
--- a/src/grammar.y
+++ b/src/grammar.y
@@ -1,4 +1,4 @@
-/* $Id: grammar.y,v 1.1 2000-09-12 00:12:52 rjkaes Exp $
+/* $Id: grammar.y,v 1.2 2001-05-27 02:25:21 rjkaes Exp $
*
* This is the grammar for tinyproxy's configuration file. It needs to be
* in sync with scanner.l. If you know more about yacc and lex than I do
@@ -82,7 +82,7 @@ statement
#ifdef HAVE_SYSLOG_H
config.syslog = $2;
#else
- log(LOG_WARNING, "Syslog support was not compiled in.");
+ log_message(LOG_WARNING, "Syslog support was not compiled in.");
#endif
}
| KW_MAXCLIENTS NUMBER { thread_configure(THREAD_MAXCLIENTS, $2); }
@@ -106,7 +106,7 @@ statement
#ifdef FILTER_ENABLE
config.filter = $2;
#else
- log(LOG_WARNING, "Filter support was not compiled in.");
+ log_message(LOG_WARNING, "Filter support was not compiled in.");
#endif
}
| KW_XTINYPROXY network_address { config.my_domain = $2; }
@@ -116,7 +116,7 @@ statement
config.tunnel_name = $2;
config.tunnel_port = $4;
#else
- log(LOG_WARNING, "Tunnel support was not compiled in.");
+ log_message(LOG_WARNING, "Tunnel support was not compiled in.");
#endif
}
| KW_LISTEN NUMERIC_ADDRESS { config.ipAddr = $2; }