Changeset 1426:f260953c2c6c in freeDiameter for extensions
- Timestamp:
- Feb 19, 2020, 9:13:42 AM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dict_dcca_3gpp/dict_dcca_3gpp.c
r1337 r1426 145 145 static int dict_dcca_3gpp_entry(char * conffile) 146 146 { 147 struct dict_object * vendor = NULL; 148 147 149 /* Applications section */ 148 150 { … … 150 152 { 151 153 struct dict_vendor_data vendor_data = { 10415, "3GPP" }; 152 CHECK_FCT(fd_dict_new(fd_g_config->cnf_dict, DICT_VENDOR, &vendor_data, NULL, NULL));154 CHECK_FCT(fd_dict_new(fd_g_config->cnf_dict, DICT_VENDOR, &vendor_data, NULL, &vendor)); 153 155 } 154 156 { … … 10886 10888 PARSE_loc_rules(rules, rule_avp); 10887 10889 } 10888 10890 10891 if (conffile && (0 == strcmp(conffile, "dumpdict"))) { 10892 char * tbuf = NULL; size_t tbuflen = 0; 10893 LOG_D("dict_dcca_3gpp dictionary: %s", fd_dict_dump_object(&tbuf, &tbuflen, NULL, vendor)); 10894 free(tbuf); 10895 } 10896 10889 10897 LOG_D( "Extension 'Dictionary definitions for DCCA 3GPP' initialized"); 10890 10898 return 0;
Note: See TracChangeset
for help on using the changeset viewer.