* limitations under the License.
*/
-#if defined(WITH_SUPERVISION)
+#if WITH_SUPERVISION
#define _GNU_SOURCE
#include "afb-xreq.h"
#include "afb-trace.h"
#include "afb-session.h"
-#include "afb-config.h"
+#include "afb-args.h"
#include "afb-supervision.h"
#include "afs-supervision.h"
#include "afb-stub-ws.h"
static void slist(void *closure, struct afb_session *session)
{
struct json_object *list = closure;
- struct json_object *item;
- wrap_json_pack(&item, "{ss}", "token", afb_session_token(session));
- json_object_object_add(list, afb_session_uuid(session), item);
+ json_object_object_add(list, afb_session_uuid(session), NULL);
}
/******************************************************************************