summaryrefslogtreecommitdiff
path: root/gobex
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-08-30 12:57:29 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:02 +0100
commit91e0e1c324a20306b441efee6316beb7ba700534 (patch)
tree0fa3cafb488b74fe17cbb71d6c61eac2e9d8b520 /gobex
parentafc903b0f3b2cbb17604d65c547b24c273a59c18 (diff)
downloadbluez-91e0e1c324a20306b441efee6316beb7ba700534.tar.gz
gobex: Fix opcode for Action command convenience functions
Diffstat (limited to 'gobex')
-rw-r--r--gobex/gobex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c
index 0119c46ae..97fb3c37b 100644
--- 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,