Add XML namespace support.

This commit is contained in:
Codewalker
2014-12-24 11:46:11 -06:00
parent 0fed8a55e4
commit e2f1c1e94a
4 changed files with 146 additions and 19 deletions

View File

@@ -789,7 +789,7 @@ static void _handle_stream_start(char *name, char **attrs,
xmpp_conn_t *conn = (xmpp_conn_t *)userdata;
char *id;
if (strcmp(name, "stream:stream") != 0) {
if (strcmp(name, "stream")) {
printf("name = %s\n", name);
xmpp_error(conn->ctx, "conn", "Server did not open valid stream.");
conn_disconnect(conn);