Changeset 961:d95cd3ca9e8d in freeDiameter for libfdproto/dictionary.c
- Timestamp:
- Mar 7, 2013, 4:09:54 AM (11 years ago)
- Branch:
- default
- Parents:
- 960:f39fa6cd86e0 (diff), 933:04f590da5821 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/dictionary.c
r928 r961 1278 1278 _OBINFO(obj).dump_data(&obj->data); 1279 1279 1280 fd_log_debug("\n");1281 1282 1280 if (depth) { 1283 1281 int i; … … 1470 1468 1471 1469 /* Done! */ 1472 CHECK_FCT( dump_add_str(outstr, offset, outlen, "\n") );1473 1470 return 0; 1474 1471 } … … 1725 1722 switch (type) { 1726 1723 case DICT_VENDOR: 1724 TRACE_DEBUG(FULL, "Vendor %s already in dictionary", new->data.vendor.vendor_name); 1727 1725 /* if we are here, it means the two vendors id are identical */ 1728 1726 if (fd_os_cmp(locref->data.vendor.vendor_name, locref->datastr_len, … … 1736 1734 1737 1735 case DICT_APPLICATION: 1736 TRACE_DEBUG(FULL, "Application %s already in dictionary", new->data.application.application_name); 1738 1737 /* got same id */ 1739 1738 if (fd_os_cmp(locref->data.application.application_name, locref->datastr_len, … … 1746 1745 1747 1746 case DICT_TYPE: 1747 TRACE_DEBUG(FULL, "Type %s already in dictionary", new->data.type.type_name); 1748 1748 /* got same name */ 1749 1749 if (locref->data.type.type_base != new->data.type.type_base) { … … 1768 1768 1769 1769 case DICT_ENUMVAL: 1770 TRACE_DEBUG(FULL, "Enum %s already in dictionary", new->data.enumval.enum_name); 1770 1771 /* got either same name or same value. We check that both are true */ 1771 1772 if (order_enum_by_name(locref, new)) { … … 1781 1782 1782 1783 case DICT_AVP: 1784 TRACE_DEBUG(FULL, "AVP %s already in dictionary", new->data.avp.avp_name); 1783 1785 /* got either same name or code */ 1784 1786 if (order_avp_by_code(locref, new)) { … … 1810 1812 1811 1813 case DICT_COMMAND: 1814 TRACE_DEBUG(FULL, "Command %s already in dictionary", new->data.cmd.cmd_name); 1812 1815 /* We got either same name, or same code + R flag */ 1813 1816 if (order_cmd_by_name(locref, new)) { -
libfdproto/dictionary.c
r952 r961 3 3 * Author: Sebastien Decugis <sdecugis@freediameter.net> * 4 4 * * 5 * Copyright (c) 201 2, WIDE Project and NICT *5 * Copyright (c) 2013, WIDE Project and NICT * 6 6 * All rights reserved. * 7 7 * *
Note: See TracChangeset
for help on using the changeset viewer.