some cosmetics

This commit is contained in:
Andreas Steffen
2011-06-16 11:34:52 +02:00
parent ec1eab0319
commit 4d1a31632a
2 changed files with 4 additions and 4 deletions
@@ -106,7 +106,7 @@ tnccs_msg_t *tnccs_reason_strings_msg_create_from_node(xmlNodePtr node,
if (xmlStrcmp(node->name, (const xmlChar*)"TNCCS-ReasonStrings"))
{
error_msg = "TNCCS-ReasonStrings tag in expected";
error_msg = "TNCCS-ReasonStrings tag expected";
goto fatal;
}
@@ -120,7 +120,7 @@ tnccs_msg_t *tnccs_reason_strings_msg_create_from_node(xmlNodePtr node,
}
if (xmlStrcmp(child->name, (const xmlChar*)"ReasonString"))
{
error_msg = "ReasonString tag in expected";
error_msg = "ReasonString tag expected";
goto fatal;
}
break;
@@ -141,7 +141,7 @@ tnccs_msg_t *tnccs_reason_strings_msg_create_from_node(xmlNodePtr node,
fatal:
msg = tnccs_error_msg_create(error_type, error_msg);
errors->insert_last(errors, msg);
_destroy(this);
destroy(this);
return NULL;
}
@@ -128,7 +128,7 @@ tnccs_msg_t *tnccs_recommendation_msg_create_from_node(xmlNodePtr node,
fatal:
msg = tnccs_error_msg_create(error_type, error_msg);
errors->insert_last(errors, msg);
_destroy(this);
destroy(this);
return NULL;
}