Avoid skip of non-ASCII chars in skip article code
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 1 Apr 2011 11:48:25 +0000 (13:48 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 1 Apr 2011 11:52:31 +0000 (13:52 +0200)
commit311cf61ceacaa95dd68019f8345faf17b652a218
treedf5a97a5fcfedb044e0e2a8581b03f0a3f2205c1
parent9bd9aee82a4ff48f9a1b248e44a47f9f905831c8
Avoid skip of non-ASCII chars in skip article code

The code used isalnum to skip leading white space. This could lead to
skip of whole string if that contained anything but 7-bit characters -
and as a result it would skip the whole string buffer (strstr
would find " ").
src/charsets.c