summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-04 22:13:53 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-07-16 17:50:46 +0300
commit5c2e417cda76e334084dd75272f02ef2a335512b (patch)
treea6d7e2685ca591be3a4f24d3dc16169712280c3b /tools
parent2751a77b9dbca4afd441f48946bef048c4fef021 (diff)
downloadobexd-5c2e417cda76e334084dd75272f02ef2a335512b.tar.gz
gobex: Use g_obex_respose in test-server
Diffstat (limited to 'tools')
-rw-r--r--tools/test-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-server.c b/tools/test-server.c
index 192ab5f..f82daad 100644
--- a/tools/test-server.c
+++ b/tools/test-server.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)