tevent: Fix a tevent tutorial error
authorVolker Lendecke <vl@samba.org>
Mon, 18 May 2020 08:38:41 +0000 (10:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 19 May 2020 12:07:42 +0000 (12:07 +0000)
We don't pass a tevent_req but a tevent_context to the _send function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue May 19 12:07:42 UTC 2020 on sn-devel-184

lib/tevent/tevent.h

index 3c3e3cc2cef7a4a0a5b0fcdd4857be85d83bed83..dc68a1d3f6966598e32dc5c885c8b026937059a7 100644 (file)
@@ -669,7 +669,7 @@ void tevent_get_trace_callback(struct tevent_context *ev,
  *
  * @code
  * struct tevent_req *computation_send(TALLOC_CTX *mem_ctx,
- *                                     struct tevent_req *ev,
+ *                                     struct tevent_context *ev,
  *                                     ... further args);
  * int computation_recv(struct tevent_req *req, ... further output args);
  * @endcode