Changeset 704:289632905e19 in freeDiameter
- Timestamp:
- Jan 25, 2011, 4:34:27 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/messages.c
r690 r704 135 135 #define _M(_x) ((struct msg *)(_x)) 136 136 /* Check the type and eyecatcher */ 137 #define CHECK_MSG(_x) ((_ C(_x)->type == MSG_MSG) && (_M(_x)->msg_eyec == MSG_MSG_EYEC))137 #define CHECK_MSG(_x) ((_x) && (_C(_x)->type == MSG_MSG) && (_M(_x)->msg_eyec == MSG_MSG_EYEC)) 138 138 139 139 #define VALIDATE_OBJ(_x) ( (CHECK_MSG(_x)) || (CHECK_AVP(_x)) )
Note: See TracChangeset
for help on using the changeset viewer.