author | Michael Krelin <hacker@klever.net> | 2009-01-28 20:54:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2009-01-28 20:56:27 (UTC) |
commit | bfd588fc4793fc22834845eeb172b8e217c80dd1 (patch) (unidiff) | |
tree | ef484f6175c38c50f413e23e79fb5eca47544062 | |
parent | 485a0816b78fcf53a717e8e7cbeabee0b83091e7 (diff) | |
download | libopkele-bfd588fc4793fc22834845eeb172b8e217c80dd1.zip libopkele-bfd588fc4793fc22834845eeb172b8e217c80dd1.tar.gz libopkele-bfd588fc4793fc22834845eeb172b8e217c80dd1.tar.bz2 |
XRD discovery fix.
Added omitted popping of the XRD element out of stack when it ends.
Thanks to our usual suspect - Joseph for spotting it ;-)
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | lib/discovery.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/discovery.cc b/lib/discovery.cc index f8a3988..26f3eed 100644 --- a/lib/discovery.cc +++ b/lib/discovery.cc | |||
@@ -486,2 +486,6 @@ namespace opkele { | |||
486 | } | 486 | } |
487 | }else if(is_qelement(n,NSURI_XRD "\tXRD")) { | ||
488 | assert(!pt_stack.empty()); | ||
489 | assert(pt_stack.back()==(NSURI_XRD "\tXRD")); | ||
490 | pt_stack.pop_back(); | ||
487 | }else if((xmode&xmode_html) && is_element(n,"head")) { | 491 | }else if((xmode&xmode_html) && is_element(n,"head")) { |