diff options
Diffstat (limited to 'src/set/set_api.c')
-rw-r--r-- | src/set/set_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/set/set_api.c b/src/set/set_api.c index e1b6132cb..370846bae 100644 --- a/src/set/set_api.c +++ b/src/set/set_api.c | |||
@@ -400,14 +400,14 @@ GNUNET_SET_listen_cancel (struct GNUNET_SET_ListenHandle *lh) | |||
400 | * @param result_mode specified how results will be returned, | 400 | * @param result_mode specified how results will be returned, |
401 | * see 'GNUNET_SET_ResultMode'. | 401 | * see 'GNUNET_SET_ResultMode'. |
402 | * @param result_cb callback for the results | 402 | * @param result_cb callback for the results |
403 | * @param cls closure for result_cb | 403 | * @param result_cls closure for result_cb |
404 | * @return a handle to cancel the operation | 404 | * @return a handle to cancel the operation |
405 | */ | 405 | */ |
406 | struct GNUNET_SET_OperationHandle * | 406 | struct GNUNET_SET_OperationHandle * |
407 | GNUNET_SET_accept (struct GNUNET_SET_Request *request, | 407 | GNUNET_SET_accept (struct GNUNET_SET_Request *request, |
408 | enum GNUNET_SET_ResultMode result_mode, | 408 | enum GNUNET_SET_ResultMode result_mode, |
409 | GNUNET_SET_ResultIterator result_cb, | 409 | GNUNET_SET_ResultIterator result_cb, |
410 | void *cls) | 410 | void *result_cls) |
411 | { | 411 | { |
412 | struct GNUNET_MQ_Envelope *mqm; | 412 | struct GNUNET_MQ_Envelope *mqm; |
413 | struct GNUNET_SET_OperationHandle *oh; | 413 | struct GNUNET_SET_OperationHandle *oh; |
@@ -418,7 +418,7 @@ GNUNET_SET_accept (struct GNUNET_SET_Request *request, | |||
418 | 418 | ||
419 | oh = GNUNET_new (struct GNUNET_SET_OperationHandle); | 419 | oh = GNUNET_new (struct GNUNET_SET_OperationHandle); |
420 | oh->result_cb = result_cb; | 420 | oh->result_cb = result_cb; |
421 | oh->result_cls = cls; | 421 | oh->result_cls = result_cls; |
422 | 422 | ||
423 | mqm = GNUNET_MQ_msg (msg, GNUNET_MESSAGE_TYPE_SET_ACCEPT); | 423 | mqm = GNUNET_MQ_msg (msg, GNUNET_MESSAGE_TYPE_SET_ACCEPT); |
424 | msg->accept_reject_id = htonl (request->accept_id); | 424 | msg->accept_reject_id = htonl (request->accept_id); |