Code cleanup

This commit is contained in:
mathusummut
2018-09-25 01:27:39 +02:00
parent 98558d0177
commit 39310bad4d
31 changed files with 110 additions and 156 deletions

View File

@@ -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);

View File

@@ -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 {