From eae48256b1a7cebeec493475501a211e5f369817 Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Mon, 20 Nov 2017 19:36:44 +0100 Subject: [PATCH] remove prints --- src/utils/ubus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/ubus.c b/src/utils/ubus.c index b3d599e..d273bed 100644 --- a/src/utils/ubus.c +++ b/src/utils/ubus.c @@ -374,13 +374,11 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj, static int add_subscriber(char *name) { uint32_t id = 0; - printf("DOING LOOKUP!\n"); if (ubus_lookup_id(ctx, name, &id)) { fprintf(stderr, "Failed to look up test object for %s\n", name); return -1; } - printf("Lookup success!\n"); - + if(hostapd_array_check_id(id)) { return 0;