Navigation


Changeset 893:8187364e39ea in freeDiameter for libfdproto


Ignore:
Timestamp:
Nov 24, 2012, 5:22:54 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix answers sending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/messages.c

    r892 r893  
    976976        /* Check the parameters */
    977977        CHECK_PARAMS( CHECK_MSG(msg) );
    978         CHECK_PARAMS( msg->msg_public.msg_flags & CMD_FLAG_REQUEST ); /* we associate with requests only */
     978       
     979        if (! (msg->msg_public.msg_flags & CMD_FLAG_REQUEST ))
     980                return 0; /* we associate with requests only */
     981       
    979982        CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.fct == NULL) ); /* We are not overwritting a cb */
    980983       
Note: See TracChangeset for help on using the changeset viewer.