how the heck did we get there with a broken @xmlns ?

This commit is contained in:
psyc://psyced.org/~lynX 2011-07-25 22:59:15 +02:00
parent a0cc248e00
commit af889013f5

View File

@ -481,6 +481,7 @@ open_stream(XMLNode node) {
string packet;
float version;
ASSERT("open_stream: node[@xmlns]", stringp(node["@xmlns"]))
// make a loooong random string and hash it not to expose our random numbers
streamid = sha1(RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING);
version = to_float(node["@version"]);