Mercurial > dnsbl
diff src/context.cpp @ 79:091d3fe3db46
start coding on new config syntax
author | carl |
---|---|
date | Sat, 16 Jul 2005 20:12:20 -0700 |
parents | 8487650c98ee |
children | fa47e1e401f1 |
line wrap: on
line diff
--- a/src/context.cpp Sat Jul 16 14:54:06 2005 -0700 +++ b/src/context.cpp Sat Jul 16 20:12:20 2005 -0700 @@ -561,7 +561,12 @@ break; // done } else { - me.add_tag(have); + me.add_tag(have); // base version + char buf[200]; + snprintf(buf, sizeof(buf), "/%s", have); + me.add_tag(register_string(buf)); // leading / + snprintf(buf, sizeof(buf), "%s/", have); + me.add_tag(register_string(buf)); // trailing / } } if (!tsa(tok, token_semi)) return false;