diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-18 13:11:36 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-18 13:11:36 +0000 |
commit | d0d39def77f1f81dd83823e0fe2cfe84a5393a74 (patch) | |
tree | 7c566f79daa839bc74569a415c1b0d2537263280 /src/testbed/testbed_api_services.c | |
parent | 153c0ba219f50e851aaef92d0cef28f80a33763e (diff) | |
download | gnunet-d0d39def77f1f81dd83823e0fe2cfe84a5393a74.tar.gz gnunet-d0d39def77f1f81dd83823e0fe2cfe84a5393a74.zip |
expose Operation and associated closure in every event
Diffstat (limited to 'src/testbed/testbed_api_services.c')
-rw-r--r-- | src/testbed/testbed_api_services.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_services.c b/src/testbed/testbed_api_services.c index 923caed26..3d6d5591d 100644 --- a/src/testbed/testbed_api_services.c +++ b/src/testbed/testbed_api_services.c | |||
@@ -144,8 +144,8 @@ configuration_receiver (void *cls, const struct GNUNET_MessageHeader *msg) | |||
144 | mtype = ntohs (msg->type); | 144 | mtype = ntohs (msg->type); |
145 | emsg = NULL; | 145 | emsg = NULL; |
146 | info.type = GNUNET_TESTBED_ET_OPERATION_FINISHED; | 146 | info.type = GNUNET_TESTBED_ET_OPERATION_FINISHED; |
147 | info.details.operation_finished.operation = data->operation; | 147 | info.op = data->operation; |
148 | info.details.operation_finished.op_cls = data->op_cls; | 148 | info.op_cls = data->op_cls; |
149 | if (GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT == mtype) | 149 | if (GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT == mtype) |
150 | { | 150 | { |
151 | emsg = | 151 | emsg = |