mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-13 22:11:02 +00:00
how the heck did we get there with a broken @xmlns ?
This commit is contained in:
parent
a0cc248e00
commit
af889013f5
@ -481,6 +481,7 @@ open_stream(XMLNode node) {
|
|||||||
string packet;
|
string packet;
|
||||||
float version;
|
float version;
|
||||||
|
|
||||||
|
ASSERT("open_stream: node[@xmlns]", stringp(node["@xmlns"]))
|
||||||
// make a loooong random string and hash it not to expose our random numbers
|
// make a loooong random string and hash it not to expose our random numbers
|
||||||
streamid = sha1(RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING);
|
streamid = sha1(RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING + RANDHEXSTRING);
|
||||||
version = to_float(node["@version"]);
|
version = to_float(node["@version"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user