Mercurial > hg > freeDiameter
changeset 100:05ea77b86f53
Fix invalid flag
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 08 Dec 2009 11:23:15 +0900 |
parents | bc07ebb58e98 |
children | c16e97f91c59 |
files | libfreeDiameter/messages.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libfreeDiameter/messages.c Tue Dec 08 11:15:02 2009 +0900 +++ b/libfreeDiameter/messages.c Tue Dec 08 11:23:15 2009 +0900 @@ -1004,7 +1004,7 @@ /* Check the parameters */ CHECK_PARAMS( CHECK_MSG(msg) && anscb ); - CHECK_PARAMS( ! (msg->msg_public.msg_flags & CMD_FLAG_REQUEST) ); + CHECK_PARAMS( msg->msg_public.msg_flags & CMD_FLAG_REQUEST ); /* we associate with requests only */ CHECK_PARAMS( msg->msg_cb.fct == NULL ); /* No cb is already registered */ /* Associate callback and data with the message, if any */