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:
afc903b
)
gobex: Fix opcode for Action command convenience functions
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 30 Aug 2011 09:57:29 +0000
(12:57 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:22:02 +0000
(22:22 +0100)
gobex/gobex.c
patch
|
blob
|
history
diff --git
a/gobex/gobex.c
b/gobex/gobex.c
index
0119c46
..
97fb3c3
100644
(file)
--- a/
gobex/gobex.c
+++ b/
gobex/gobex.c
@@
-1017,7
+1017,7
@@
guint g_obex_copy(GObex *obex, const char *name, const char *dest,
{
GObexPacket *req;
- req = g_obex_packet_new(G_OBEX_OP_
PUT
, TRUE,
+ req = g_obex_packet_new(G_OBEX_OP_
ACTION
, TRUE,
G_OBEX_HDR_ACTION, G_OBEX_ACTION_COPY,
G_OBEX_HDR_NAME, name,
G_OBEX_HDR_DESTNAME, dest,
@@
-1032,7
+1032,7
@@
guint g_obex_move(GObex *obex, const char *name, const char *dest,
{
GObexPacket *req;
- req = g_obex_packet_new(G_OBEX_OP_
PUT
, TRUE,
+ req = g_obex_packet_new(G_OBEX_OP_
ACTION
, TRUE,
G_OBEX_HDR_ACTION, G_OBEX_ACTION_MOVE,
G_OBEX_HDR_NAME, name,
G_OBEX_HDR_DESTNAME, dest,