]> granicus.if.org Git - libexpat/commitdiff
Fix bug with multibyte character after minus in comment
authorJames Clark <jjc@jclark.com>
Fri, 30 Oct 1998 07:02:08 +0000 (07:02 +0000)
committerJames Clark <jjc@jclark.com>
Fri, 30 Oct 1998 07:02:08 +0000 (07:02 +0000)
expat/xmltok/xmltok_impl.c

index 17aec86f2bb8586e9011af2400d18ca75d8eba45..449492383495aedb3e4418f7a29c1f4d3401ebbb 100755 (executable)
@@ -128,7 +128,7 @@ int PREFIX(scanComment)(const ENCODING *enc, const char *ptr, const char *end,
          *nextTokPtr = ptr + MINBPC;
          return XML_TOK_COMMENT;
        }
-       /* fall through */
+       break;
       default:
        ptr += MINBPC;
        break;