summaryrefslogtreecommitdiff
path: root/unit/test-sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'unit/test-sdp.c')
-rw-r--r--unit/test-sdp.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/unit/test-sdp.c b/unit/test-sdp.c
index 9b8234307..a89dbfca6 100644
--- a/unit/test-sdp.c
+++ b/unit/test-sdp.c
@@ -37,6 +37,7 @@
#include "lib/sdp_lib.h"
#include "src/shared/util.h"
+#include "src/log.h"
#include "src/sdpd.h"
struct sdp_pdu {
@@ -128,12 +129,6 @@ static void sdp_debug(const char *str, void *user_data)
g_print("%s%s\n", prefix, str);
}
-void btd_debug(const char *format, ...);
-
-void btd_debug(const char *format, ...)
-{
-}
-
static void context_quit(struct context *context)
{
g_main_loop_quit(context->main_loop);
@@ -797,6 +792,9 @@ int main(int argc, char *argv[])
{
g_test_init(&argc, &argv, NULL);
+ if (g_test_verbose())
+ __btd_log_init("*", 0);
+
/*
* Service Search Request
*