OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a470646
)
gobex: Use g_obex_respose in test-server
author
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 4 Jul 2011 19:13:53 +0000
(22:13 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:58 +0000
(22:21 +0100)
tools/obex-server-tool.c
patch
|
blob
|
history
diff --git
a/tools/obex-server-tool.c
b/tools/obex-server-tool.c
index
192ab5f
..
f82daad
100644
(file)
--- 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)