jingle/check.c
changeset 16 cb085682970f
parent 14 77966ed56e14
child 17 24aa7414bafd
--- a/jingle/check.c	Mon Jun 07 19:15:28 2010 +0200
+++ b/jingle/check.c	Mon Jun 07 23:04:34 2010 +0200
@@ -88,7 +88,7 @@
   
   for (child = node->children; child; child = child->next) {
     if (!g_strcmp0(child->name, "content")) {
-      cn = check_content(node, err);
+      cn = check_content(child, err);
       if(cn == NULL) {
         g_assert (*err != NULL);
         return FALSE;
@@ -106,7 +106,7 @@
   const gchar *creatorstr, *sendersstr;
   gint tmp, tmp2;
 
-  creatorstr      = lm_message_node_get_attribute(node, "action");
+  creatorstr      = lm_message_node_get_attribute(node, "creator");
   cn->disposition = lm_message_node_get_attribute(node, "disposition");
   cn->name        = lm_message_node_get_attribute(node, "name");
   sendersstr      = lm_message_node_get_attribute(node, "senders");