Changeset 109:a522268ec95b in freeDiameter for libfreeDiameter/dictionary.c
- Timestamp:
- Dec 8, 2009, 2:03:44 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfreeDiameter/dictionary.c
r43 r109 1384 1384 } 1385 1385 1386 /* We have to check that the new values are not equal to the sentinels */ 1387 if (type == DICT_VENDOR) { 1388 CHECK_PARAMS( ((struct dict_vendor_data *)data)->vendor_id != 0 ); 1389 } 1390 if (type == DICT_APPLICATION) { 1391 CHECK_PARAMS( ((struct dict_application_data *)data)->application_id != 0 ); 1392 } 1393 1386 1394 /* Parameters are valid, create the new object */ 1387 1395 CHECK_MALLOC( new = malloc(sizeof(struct dict_object)) );
Note: See TracChangeset
for help on using the changeset viewer.