src/protocols/jabber/jabber.c

changeset 8010
e9896003ea75
parent 7999
f3f95e0c956a
child 8011
e9ac8bfe26da
equal deleted inserted replaced
8009:474aa8caba58 8010:e9896003ea75
580 return; 580 return;
581 } 581 }
582 582
583 for(x = packet->child; x; x = x->next) { 583 for(x = packet->child; x; x = x->next) {
584 const char *xmlns; 584 const char *xmlns;
585 if(strcmp(x->name, "x")) 585 if(x->type != NODE_TYPE_TAG || strcmp(x->name, "x"))
586 continue; 586 continue;
587 587
588 if(!(xmlns = xmlnode_get_attrib(x, "xmlns"))) 588 if(!(xmlns = xmlnode_get_attrib(x, "xmlns")))
589 continue; 589 continue;
590 590

mercurial