diff src/scanner.cpp @ 42:afcf403709ef

updates for 3.2, try to drop root privileges
author carl
date Mon, 05 Jul 2004 13:09:44 -0700
parents d95af8129dfa
children 6b79046b18c2
line wrap: on
line diff
--- a/src/scanner.cpp	Mon Jul 05 10:52:02 2004 -0700
+++ b/src/scanner.cpp	Mon Jul 05 13:09:44 2004 -0700
@@ -20,7 +20,7 @@
     string_set  hosts;
     int         bad_html_tags;
     int         binary_tags;
-    recorder(string_set *html_tags_, string_set *tlds_);
+    recorder(mlfiPriv *priv_, string_set *html_tags_, string_set *tlds_);
     ~recorder();
     void empty();
     void new_url(char *host);
@@ -931,7 +931,7 @@
 void fsa::error(char *err) {
     count = 0;
     st    = init;
-    if (err) my_syslog(err);
+    if (err) my_syslog(memory->priv, err);
 }
 
 void fsa::pusher() {