1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Minor code reordering.

This commit is contained in:
Laurent MONIN 2005-12-08 16:20:13 +01:00 committed by Laurent MONIN
parent 279f2bec93
commit 37ec65247d

View File

@ -517,16 +517,16 @@ skip_table(unsigned char *html, unsigned char *eof)
html++;
if (html >= eof) return eof;
if (!namelen) continue;
if (*name == '/') {
closing_tag = 1;
name++; namelen--;
if (!namelen) continue;
}
if (!strlcasecmp(name, namelen, "TABLE", 5)) {
if (!closing_tag) {
level++;
@ -597,11 +597,12 @@ see:
}
if (!namelen) goto see;
if (name[0] == '/') {
name++; namelen--;
namelen--;
if (!namelen) goto see;
closing_tag = 1;
name++;
closing_tag = 1;
} else {
closing_tag = 0;