Improve handling of verbosity
[src/app-framework-binder.git] / src / afb-api-dbus.c
index 4689ad1..3884b60 100644 (file)
@@ -27,7 +27,7 @@
 #include <systemd/sd-bus.h>
 #include <json-c/json.h>
 
-#include <afb/afb-req-itf.h>
+#include <afb/afb-event-itf.h>
 
 #include "afb-common.h"
 
@@ -610,6 +610,7 @@ int afb_api_dbus_add_client(const char *path, struct afb_apiset *apiset)
        /* record it as an API */
        afb_api.closure = api;
        afb_api.itf = &dbus_api_itf;
+       afb_api.noconcurrency = 0;
        if (afb_apiset_add(apiset, api->api, afb_api) < 0)
                goto error2;