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
supervisor: Make it a HTTP server
[src/app-framework-binder.git]
/
src
/
afb-supervision.c
diff --git
a/src/afb-supervision.c
b/src/afb-supervision.c
index
1ff8f8b
..
9759524
100644
(file)
--- a/
src/afb-supervision.c
+++ b/
src/afb-supervision.c
@@
-51,7
+51,8
@@
extern struct afb_config *main_config;
/* api and apiset name */
extern struct afb_config *main_config;
/* api and apiset name */
-static const char supervision_apiname[] = AFS_SURPERVISION_APINAME_INTERNAL;
+static const char supervision_apiname[] = AFS_SURPERVISION_APINAME;
+static const char supervisor_apiname[] = AFS_SURPERVISOR_APINAME;
/* path of the supervision socket */
static const char supervisor_socket_path[] = AFS_SURPERVISION_SOCKET;
/* path of the supervision socket */
static const char supervisor_socket_path[] = AFS_SURPERVISION_SOCKET;
@@
-346,7
+347,7
@@
static void on_supervision_call(void *closure, struct afb_xreq *xreq)
break;
case Trace:
if (!trace)
break;
case Trace:
if (!trace)
- trace = afb_trace_create(supervis
ion
_apiname, NULL /* not bound to any session */);
+ trace = afb_trace_create(supervis
or
_apiname, NULL /* not bound to any session */);
req = xreq_to_req(xreq);
add = drop = NULL;
req = xreq_to_req(xreq);
add = drop = NULL;