From 26f20b39af69d847b4810c9f3c3078f9a5dbca34 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 4 Jul 2011 22:13:53 +0300 Subject: [PATCH] gobex: Use g_obex_respose in test-server --- tools/obex-server-tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/obex-server-tool.c b/tools/obex-server-tool.c index 192ab5fcb..f82daad4b 100644 --- a/tools/obex-server-tool.c +++ b/tools/obex-server-tool.c @@ -64,6 +64,8 @@ static void disconn_func(GObex *obex, GError *err, gpointer user_data) static void req_func(GObex *obex, GObexPacket *req, gpointer user_data) { g_print("Request 0x%02x\n", g_obex_packet_get_operation(req, NULL)); + + g_obex_response(obex, req, G_OBEX_RSP_SUCCESS, NULL, NULL); } static gboolean unix_accept(GIOChannel *chan, GIOCondition cond, gpointer data) -- 2.47.3