aboutsummaryrefslogtreecommitdiffstats
path: root/xmlregexp.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2007-08-24 02:57:38 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2007-08-24 02:57:38 +0000
commitec72008ba71615131235222fd3d8765b95e46e4f (patch)
tree5d909148197f68a00e991f8e5ba59d9340cf753b /xmlregexp.c
parentcd2ebab7d9535f3a380fde15fc85aca1820e0a3e (diff)
downloadandroid_external_libxml2-ec72008ba71615131235222fd3d8765b95e46e4f.tar.gz
android_external_libxml2-ec72008ba71615131235222fd3d8765b95e46e4f.tar.bz2
android_external_libxml2-ec72008ba71615131235222fd3d8765b95e46e4f.zip
Enhanced to include port number (if not == 80) on the "Header:" URL (bug
* nanohttp.c: Enhanced to include port number (if not == 80) on the "Header:" URL (bug #469681). * xmlregexp.c: Fixed a typo causing a warning message. svn path=/trunk/; revision=3657
Diffstat (limited to 'xmlregexp.c')
-rw-r--r--xmlregexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index 7f8921b7..1f1a1cce 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -1611,9 +1611,9 @@ xmlFAGenerateTransitions(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr from,
case, I suppose this got optimized out before when
building the automata */
+ copy = xmlRegCopyAtom(ctxt, atom);
if (copy == NULL)
return(-1);
- copy = xmlRegCopyAtom(ctxt, atom);
copy->quant = XML_REGEXP_QUANT_ONCE;
copy->min = 0;
copy->max = 0;