Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make addref for request return the pointer
[src/app-framework-binder.git]
/
include
/
afb
/
afb-request.h
diff --git
a/include/afb/afb-request.h
b/include/afb/afb-request.h
index
052cbab
..
c2585fc
100644
(file)
--- 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.
*/
* 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);
+ re
turn re
quest->itf->addref(request);
}
/*
}
/*