projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor a bit
[metaproxy-moved-to-github.git]
/
src
/
test_html_parser.cpp
diff --git
a/src/test_html_parser.cpp
b/src/test_html_parser.cpp
index
5230117
..
aa818f9
100644
(file)
--- a/
src/test_html_parser.cpp
+++ b/
src/test_html_parser.cpp
@@
-45,12
+45,12
@@
class MyEvent : public mp::HTMLParserEvent {
}
void attribute(const char *tagName,
}
void attribute(const char *tagName,
- const char *name, const char *value)
+ const char *name, const char *value, int val_len)
{
out += " ";
out += name;
out += "=\"";
{
out += " ";
out += name;
out += "=\"";
- out += value;
+ out.append(value, val_len);
out += "\"";
}
out += "\"";
}