comparison src/util.c @ 10731:783ca1f1ebdb

[gaim-migrate @ 12333] Patch 4/4 (I forget what patch did what, this branch stuff is confusing me) committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 26 Mar 2005 01:20:31 +0000
parents 9505695acff8
children c4cb90065e1d
comparison
equal deleted inserted replaced
10730:e84b1ef01905 10731:783ca1f1ebdb
1318 else if (strncasecmp(str2 + i, "<style", 6) == 0) 1318 else if (strncasecmp(str2 + i, "<style", 6) == 0)
1319 { 1319 {
1320 cdata_close_tag = "</style>"; 1320 cdata_close_tag = "</style>";
1321 } 1321 }
1322 /* Update the index and continue checking after the tag */ 1322 /* Update the index and continue checking after the tag */
1323 i = (str2[k] == '<')? k - 1: k; 1323 i = (str2[k] == '<' || str2[k] == '\0')? k - 1: k;
1324 continue; 1324 continue;
1325 } 1325 }
1326 } 1326 }
1327 else if (cdata_close_tag) 1327 else if (cdata_close_tag)
1328 { 1328 {