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
Expose use of the event loop
[src/app-framework-binder.git]
/
src
/
afb-ws-json1.c
diff --git
a/src/afb-ws-json1.c
b/src/afb-ws-json1.c
index
9d295e7
..
8f558ab
100644
(file)
--- a/
src/afb-ws-json1.c
+++ b/
src/afb-ws-json1.c
@@
-29,6
+29,7
@@
#include "afb-wsj1.h"
#include "afb-ws-json1.h"
#include "afb-wsj1.h"
#include "afb-ws-json1.h"
+#include "afb-common.h"
#include "afb-msg-json.h"
#include "session.h"
#include "afb-apis.h"
#include "afb-msg-json.h"
#include "session.h"
#include "afb-apis.h"
@@
-143,7
+144,7
@@
struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_context *context, vo
if (result->session == NULL)
goto error2;
if (result->session == NULL)
goto error2;
- result->wsj1 = afb_wsj1_create(fd, &wsj1_itf, result);
+ result->wsj1 = afb_wsj1_create(
afb_common_get_event_loop(),
fd, &wsj1_itf, result);
if (result->wsj1 == NULL)
goto error3;
if (result->wsj1 == NULL)
goto error3;