From: <dg...@su...> - 2009-01-19 14:15:06
|
Author: bellmich Date: Mon Jan 19 15:14:02 2009 New Revision: 169 URL: http://libwbxml.opensync.org/changeset/169 Log: fixed typo Modified: wbxml2/trunk/src/wbxml_conv.c wbxml2/trunk/src/wbxml_conv.h wbxml2/trunk/src/wbxml_tree.c Modified: wbxml2/trunk/src/wbxml_conv.c ============================================================================== --- wbxml2/trunk/src/wbxml_conv.c Mon Jan 19 15:08:14 2009 (r168) +++ wbxml2/trunk/src/wbxml_conv.c Mon Jan 19 15:14:02 2009 (r169) @@ -62,7 +62,7 @@ /* Parse WBXML to WBXML Tree */ ret = wbxml_tree_from_wbxml(wbxml, wbxml_len, params ? params->lang : WBXML_LANG_UNKNOWN, &wbxml_tree); if (ret != WBXML_OK) { - WBXML_ERROR((WBXML_CONV, "wbxml2xml convertion failed - WBXML Parser Error: %s", + WBXML_ERROR((WBXML_CONV, "wbxml2xml conversion failed - WBXML Parser Error: %s", wbxml_errors_string(ret))); return ret; @@ -71,7 +71,7 @@ /* Convert Tree to XML */ ret = wbxml_tree_to_xml(wbxml_tree, xml, xml_len, params); if (ret != WBXML_OK) { - WBXML_ERROR((WBXML_CONV, "wbxml2xml convertion failed - WBXML Encoder Error: %s", + WBXML_ERROR((WBXML_CONV, "wbxml2xml conversion failed - WBXML Encoder Error: %s", wbxml_errors_string(ret))); } @@ -102,7 +102,7 @@ /* Parse XML to WBXML Tree */ ret = wbxml_tree_from_xml(xml, xml_len, &wbxml_tree); if (ret != WBXML_OK) { - WBXML_ERROR((WBXML_CONV, "xml2wbxml convertion failed - Error: %s", + WBXML_ERROR((WBXML_CONV, "xml2wbxml conversion failed - Error: %s", wbxml_errors_string(ret))); return ret; @@ -111,7 +111,7 @@ /* Convert Tree to WBXML */ ret = wbxml_tree_to_wbxml(wbxml_tree, wbxml, wbxml_len, params); if (ret != WBXML_OK) { - WBXML_ERROR((WBXML_CONV, "xml2wbxml convertion failed - WBXML Encoder Error: %s", + WBXML_ERROR((WBXML_CONV, "xml2wbxml conversion failed - WBXML Encoder Error: %s", wbxml_errors_string(ret))); } Modified: wbxml2/trunk/src/wbxml_conv.h ============================================================================== --- wbxml2/trunk/src/wbxml_conv.h Mon Jan 19 15:08:14 2009 (r168) +++ wbxml2/trunk/src/wbxml_conv.h Mon Jan 19 15:14:02 2009 (r169) @@ -62,7 +62,7 @@ * @param xml [out] Resulting XML Document * @param xml_len [out] XML Document length * @param params [in] Parameters (if NULL, default values are used) - * @return WBXML_OK if convertion succeeded, an Error Code otherwise + * @return WBXML_OK if conversion succeeded, an Error Code otherwise */ WBXML_DECLARE(WBXMLError) wbxml_conv_wbxml2xml_withlen(WB_UTINY *wbxml, WB_ULONG wbxml_len, @@ -88,7 +88,7 @@ * @param wbxml [out] Resulting WBXML Document * @param wbxml_len [out] Length of resulting WBXML Document * @param params [in] Parameters (if NULL, default values are used) - * @return WBXML_OK if convertion succeeded, an Error Code otherwise + * @return WBXML_OK if conversion succeeded, an Error Code otherwise */ WBXML_DECLARE(WBXMLError) wbxml_conv_xml2wbxml_withlen(WB_UTINY *xml, WB_ULONG xml_len, Modified: wbxml2/trunk/src/wbxml_tree.c ============================================================================== --- wbxml2/trunk/src/wbxml_tree.c Mon Jan 19 15:08:14 2009 (r168) +++ wbxml2/trunk/src/wbxml_tree.c Mon Jan 19 15:14:02 2009 (r169) @@ -235,7 +235,7 @@ /* Parse the XML Document to WBXML Tree */ if (XML_Parse(xml_parser, (WB_TINY*) xml, xml_len, TRUE) == 0) { - WBXML_ERROR((WBXML_CONV, "xml2wbxml convertion failed - expat error %i\n" + WBXML_ERROR((WBXML_CONV, "xml2wbxml conversion failed - expat error %i\n" "\tdescription: %s\n" "\tline: %i\n" "\tcolumn: %i\n" |