Mercurial > dnsbl
changeset 33:ce229348cdbe stable-2-6
failed to lowercase the first char of html tags
author | carl |
---|---|
date | Sat, 29 May 2004 15:36:14 -0700 |
parents | ccb02fc678aa |
children | fc7f8f3ea90f |
files | src/scanner.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/scanner.cpp Sat May 29 15:05:45 2004 -0700 +++ b/src/scanner.cpp Sat May 29 15:36:14 2004 -0700 @@ -982,7 +982,7 @@ case t_end: { if (count > 1) { pending[--count] = '\0'; // null terminate html tag - for (int i=1; i<count; i++) pending[i] = tolower(pending[i]); + for (int i=0; i<count; i++) pending[i] = tolower(pending[i]); memory->new_tag((char*)pending); } st = (c == ' ') ? t_disc : t_init;