summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-request.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb/afb-request.h')
-rw-r--r--include/afb/afb-request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/afb/afb-request.h b/include/afb/afb-request.h
index 052cbab9..c2585fc5 100644
--- a/include/afb/afb-request.h
+++ b/include/afb/afb-request.h
@@ -204,9 +204,9 @@ static inline void afb_request_context_clear(struct afb_request *request)
* This function MUST be called by asynchronous implementations
* of verbs if no reply was sent before returning.
*/
-static inline void afb_request_addref(struct afb_request *request)
+static inline struct afb_request *afb_request_addref(struct afb_request *request)
{
- request->itf->addref(request);
+ return request->itf->addref(request);
}
/*