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
afb-evt: fix a bug discovered by clang-check
[src/app-framework-binder.git]
/
src
/
afb-hreq.c
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
389a67e
..
9c63091
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-33,11
+33,10
@@
#endif
#include "afb-method.h"
#endif
#include "afb-method.h"
-#include <afb/afb-req-
itf
.h>
+#include <afb/afb-req-
common
.h>
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
-#include "afb-subcall.h"
#include "afb-session.h"
#include "afb-cred.h"
#include "verbose.h"
#include "afb-session.h"
#include "afb-cred.h"
#include "verbose.h"
@@
-983,7
+982,6
@@
struct afb_hreq *afb_hreq_create()
if (hreq) {
/* init the request */
afb_xreq_init(&hreq->xreq, &afb_hreq_xreq_query_itf);
if (hreq) {
/* init the request */
afb_xreq_init(&hreq->xreq, &afb_hreq_xreq_query_itf);
- hreq->xreq.cred = afb_cred_current();
hreq->reqid = ++global_reqids;
}
return hreq;
hreq->reqid = ++global_reqids;
}
return hreq;