diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-04 22:13:53 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-16 17:50:46 +0300 |
commit | 5c2e417cda76e334084dd75272f02ef2a335512b (patch) | |
tree | a6d7e2685ca591be3a4f24d3dc16169712280c3b /tools | |
parent | 2751a77b9dbca4afd441f48946bef048c4fef021 (diff) | |
download | obexd-5c2e417cda76e334084dd75272f02ef2a335512b.tar.gz |
gobex: Use g_obex_respose in test-server
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test-server.c | 2 |
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) |