Navigation


Changeset 824:89c5849b0832 in freeDiameter for libfdproto


Ignore:
Timestamp:
Sep 13, 2012, 8:41:29 PM (12 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Allow retransmission of messages on timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/messages.c

    r808 r824  
    967967       
    968968        /* Check the parameters */
    969         CHECK_PARAMS( CHECK_MSG(msg) && anscb );
     969        CHECK_PARAMS( CHECK_MSG(msg) );
    970970        CHECK_PARAMS( msg->msg_public.msg_flags & CMD_FLAG_REQUEST ); /* we associate with requests only */
    971         CHECK_PARAMS( msg->msg_cb.fct == NULL ); /* No cb is already registered */
     971        CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.fct == NULL) ); /* We are not overwritting a cb */
    972972       
    973973        /* Associate callback and data with the message, if any */
Note: See TracChangeset for help on using the changeset viewer.