Changeset 1151:100a0925f809 in freeDiameter for libfdproto
- Timestamp:
- May 22, 2013, 10:37:48 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/dispatch.c
r1127 r1151 123 123 struct fd_list * cb_list = NULL; 124 124 struct disp_hdl * new; 125 struct dict_object * type_enum , * type_avp;125 struct dict_object * type_enum = NULL, * type_avp; 126 126 struct dictionary * dict = NULL; 127 127 … … 150 150 if (dict) { 151 151 CHECK_FCT( fd_dict_search(dict, DICT_TYPE, TYPE_OF_AVP, when->avp, &type_avp, EINVAL) ); 152 CHECK_PARAMS( type_enum == type_avp ); 152 if (type_enum) { 153 CHECK_PARAMS( type_enum == type_avp ); 154 } 153 155 } 154 156 break;
Note: See TracChangeset
for help on using the changeset viewer.