Navigation


Changeset 1327:82b386714795 in freeDiameter


Ignore:
Timestamp:
Nov 27, 2017, 11:21:20 PM (6 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Set callback data also when only setting expire callback (and not answer callback as well).

It is used when calling the expire callback, so not setting it makes no sense.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/messages.c

    r1305 r1327  
    12611261        if (expirecb) {
    12621262                msg->msg_cb.expirecb = expirecb;
     1263                msg->msg_cb.data = data;
    12631264                if (timeout) {
    12641265                        memcpy(&msg->msg_cb.timeout, timeout, sizeof(struct timespec));
Note: See TracChangeset for help on using the changeset viewer.