Mercurial > dnsbl
diff src/scanner.cpp @ 74:b7449114ebb0
start coding on new config syntax
author | carl |
---|---|
date | Sun, 10 Jul 2005 14:19:00 -0700 |
parents | 2b369f7db7bf |
children | 1142e46be550 |
line wrap: on
line diff
--- a/src/scanner.cpp Sun Jul 10 13:28:33 2005 -0700 +++ b/src/scanner.cpp Sun Jul 10 14:19:00 2005 -0700 @@ -1105,7 +1105,7 @@ void fsa::error(char *err) { count = 0; st = init; - if (err) my_syslog(memory->priv, err); + if (err) my_syslog(memory->get_priv(), err); } void fsa::pusher() { @@ -1136,8 +1136,8 @@ // have two periods, so at least three components, and no empty components for (int i=0; i<count; i++) pending[i] = tolower(pending[i]); // is last component a tld? - string_set::iterator i = memory->tlds->find(p2+1); - if (i != memory->tlds->end()) memory->new_url((char*)pending); + string_set::iterator i = memory->get_tlds()->find(p2+1); + if (i != memory->get_tlds()->end()) memory->new_url((char*)pending); } } st = h_init;