Navigation


Changeset 961:d95cd3ca9e8d in freeDiameter for libfdproto/dictionary.c


Ignore:
Timestamp:
Mar 7, 2013, 4:09:54 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
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
Message:

merge latest 1.1 branch (one commit post 1.1.6)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/dictionary.c

    r928 r961  
    12781278                _OBINFO(obj).dump_data(&obj->data);
    12791279       
    1280         fd_log_debug("\n");
    1281        
    12821280        if (depth) {
    12831281                int i;
     
    14701468       
    14711469        /* Done! */
    1472         CHECK_FCT( dump_add_str(outstr, offset, outlen, "\n") );
    14731470        return 0;
    14741471}
     
    17251722                switch (type) {
    17261723                        case DICT_VENDOR:
     1724                                TRACE_DEBUG(FULL, "Vendor %s already in dictionary", new->data.vendor.vendor_name);
    17271725                                /* if we are here, it means the two vendors id are identical */
    17281726                                if (fd_os_cmp(locref->data.vendor.vendor_name, locref->datastr_len,
     
    17361734
    17371735                        case DICT_APPLICATION:
     1736                                TRACE_DEBUG(FULL, "Application %s already in dictionary", new->data.application.application_name);
    17381737                                /* got same id */
    17391738                                if (fd_os_cmp(locref->data.application.application_name, locref->datastr_len,
     
    17461745
    17471746                        case DICT_TYPE:
     1747                                TRACE_DEBUG(FULL, "Type %s already in dictionary", new->data.type.type_name);
    17481748                                /* got same name */
    17491749                                if (locref->data.type.type_base != new->data.type.type_base) {
     
    17681768
    17691769                        case DICT_ENUMVAL:
     1770                                TRACE_DEBUG(FULL, "Enum %s already in dictionary", new->data.enumval.enum_name);
    17701771                                /* got either same name or same value. We check that both are true */
    17711772                                if (order_enum_by_name(locref, new)) {
     
    17811782
    17821783                        case DICT_AVP:
     1784                                TRACE_DEBUG(FULL, "AVP %s already in dictionary", new->data.avp.avp_name);
    17831785                                /* got either same name or code */
    17841786                                if (order_avp_by_code(locref, new)) {
     
    18101812
    18111813                        case DICT_COMMAND:
     1814                                TRACE_DEBUG(FULL, "Command %s already in dictionary", new->data.cmd.cmd_name);
    18121815                                /* We got either same name, or same code + R flag */
    18131816                                if (order_cmd_by_name(locref, new)) {
  • libfdproto/dictionary.c

    r952 r961  
    33* Author: Sebastien Decugis <sdecugis@freediameter.net>                                                  *
    44*                                                                                                        *
    5 * Copyright (c) 2012, WIDE Project and NICT                                                              *
     5* Copyright (c) 2013, WIDE Project and NICT                                                              *
    66* All rights reserved.                                                                                   *
    77*                                                                                                        *
Note: See TracChangeset for help on using the changeset viewer.