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
Reactivate hooking of requests
[src/app-framework-binder.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
cee5596
..
abb7131
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-437,7
+437,7
@@
static void start()
/* install trace of requests */
if (config->tracereq)
/* install trace of requests */
if (config->tracereq)
- afb_hook_req_create(NULL, NULL, NULL, config->tracereq, NULL, NULL);
+ afb_hook_
x
req_create(NULL, NULL, NULL, config->tracereq, NULL, NULL);
/* start the services */
if (afb_apis_start_all_services(1) < 0)
/* start the services */
if (afb_apis_start_all_services(1) < 0)
@@
-476,6
+476,7
@@
int main(int argc, char *argv[])
// ------------- Build session handler & init config -------
config = afb_config_parse_arguments(argc, argv);
// ------------- Build session handler & init config -------
config = afb_config_parse_arguments(argc, argv);
+ INFO("running with pid %d", getpid());
// --------- run -----------
if (config->background) {
// --------- run -----------
if (config->background) {