- stringstream response_xml;
- response_xml << "<serverstatus>" << endl;
- response_xml << "\t<version>0.9</version>" << endl;
- response_xml << "\t<authors>" << endl;
- response_xml << "\t\t<author>Nicolás Dimov</author>" << endl;
- response_xml << "\t\t<author>Leandro Lucarella</author>" << endl;
- response_xml << "\t\t<author>Ricardo Markiewicz</author>" << endl;
- response_xml << "\t</authors>" << endl;
- response_xml << "</serverstatus>" << endl;
- return new HTTPResponse(HTTPMessage::OK, response_xml.str());
+ stringstream xml;
+ xml << "<serverstatus>" << endl;
+ xml << "\t<version>" VERSION "</version>" << endl;
+ xml << "\t<authors>" << endl;
+ xml << "\t\t<author>Nicolás Dimov</author>" << endl;
+ xml << "\t\t<author>Leandro Lucarella</author>" << endl;
+ xml << "\t\t<author>Ricardo Markiewicz</author>" << endl;
+ xml << "\t</authors>" << endl;
+ xml << "</serverstatus>" << endl;
+ return new HTTPResponse(HTTPMessage::OK, xml.str());