Changeset 1017:d69612a16929 in freeDiameter
- Timestamp:
- Apr 1, 2013, 12:27:34 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/dispatch.c
r987 r1017 71 71 { 72 72 struct fd_list * senti, *li; 73 int r; 73 74 TRACE_ENTRY("%p %p %p %p %p %p %p %p %p", cb_list, msg, avp, sess, action, obj_app, obj_cmd, obj_avp, obj_enu); 74 75 CHECK_PARAMS(msg && action); … … 94 95 95 96 /* We have a match, the cb must be called. */ 96 CHECK_FCT( (*hdl->cb)(msg, avp, sess, hdl->opaque, action) ); 97 CHECK_FCT_DO( (r = (*hdl->cb)(msg, avp, sess, hdl->opaque, action)), 98 { 99 fd_msg_log( FD_MSG_LOG_DROPPED, *msg, "Internal error: a DISPATCH callback returned an error (%s)", strerror(r)); 100 fd_msg_free(*msg); 101 *msg = NULL; 102 } 103 ); 97 104 98 105 if (*action != DISP_ACT_CONT)
Note: See TracChangeset
for help on using the changeset viewer.