Changeset 291:2d3a799ad29c in freeDiameter for libfreeDiameter/messages.c
- Timestamp:
- May 10, 2010, 2:10:51 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfreeDiameter/messages.c
r280 r291 336 336 CHECK_FCT( fd_msg_avp_setvalue( avp, &val ) ); 337 337 CHECK_FCT( fd_msg_avp_add( ans, MSG_BRW_FIRST_CHILD, avp ) ); 338 ans->msg_sess = sess; 339 CHECK_FCT( fd_sess_ref_msg(sess) ); 338 340 } 339 341 … … 2208 2210 CHECK_FCT_DO( ret = fd_msg_browse( *msg, MSG_BRW_FIRST_CHILD, &avp, NULL ), goto error ); 2209 2211 while (avp != NULL) { 2210 /* Sanity */2211 ASSERT( avp->avp_public.avp_value );2212 2213 2212 /* For unknown AVP, we don't have a callback registered, so just skip */ 2214 2213 if (avp->avp_model) { 2215 2214 struct dict_object * type, * enumval; 2216 2215 2216 /* Sanity */ 2217 ASSERT( avp->avp_public.avp_value ); 2218 2217 2219 /* Get the list of callback for this AVP */ 2218 2220 CHECK_FCT_DO( ret = fd_dict_disp_cb(DICT_AVP, avp->avp_model, &cb_list), goto error );
Note: See TracChangeset
for help on using the changeset viewer.