mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 09:54:26 +02:00
Code cleanup
This commit is contained in:
@@ -99,7 +99,7 @@ int soapPostSubmit(int fd,
|
||||
"Content-Type: text/xml\r\n"
|
||||
"SOAPAction: \"%s\"\r\n"
|
||||
"Connection: Close\r\n"
|
||||
"Cache-Control: no-cache\r\n" /* ??? */
|
||||
"Cache-Control: no-cache\r\n"
|
||||
"Pragma: no-cache\r\n"
|
||||
"\r\n",
|
||||
url, httpversion, host, portstr, bodysize, action);
|
||||
|
@@ -839,7 +839,7 @@ namespace Shared {
|
||||
}
|
||||
}
|
||||
|
||||
throw megaglest_runtime_error("Node \"" + getName() + "\" doesn't have " + intToStr(childIndex + 1) + " children named \"" + (childNameList.empty() ? "???" : childNameList[0]) + "\"\n\nTree: " + getTreeString(), true);
|
||||
throw megaglest_runtime_error("Node \"" + getName() + "\" doesn't have " + intToStr(childIndex + 1) + " children named \"" + (childNameList.empty() ? "?" : childNameList[0]) + "\"\n\nTree: " + getTreeString(), true);
|
||||
}
|
||||
|
||||
bool XmlNode::hasChildAtIndex(const string &childName, int i) const {
|
||||
|
Reference in New Issue
Block a user