summaryrefslogtreecommitdiff
path: root/common/ixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/ixml.cpp')
-rw-r--r--common/ixml.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/ixml.cpp b/common/ixml.cpp
index f463124..6a33daf 100644
--- a/common/ixml.cpp
+++ b/common/ixml.cpp
@@ -11,7 +11,7 @@ namespace upnp {
namespace ixml {
-void XmlEscapeSpecialChars(string& doc){
+string& XmlEscapeSpecialChars(string& doc){
std::string buffer;
buffer.reserve(doc.size()*1.1);
@@ -121,6 +121,8 @@ void XmlEscapeSpecialChars(string& doc){
}
doc.swap(buffer);
+
+ return doc;
}
//Function copied from Intel SDK