diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-08-30 12:57:29 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-08-30 12:57:29 +0300 |
commit | 672a8ed77e5c5e7b24523cb7c8e16ad006d6183d (patch) | |
tree | b607d7ec7391cfd6a82b3ea55e308f77dc52cac6 /gobex | |
parent | 44054a8c334e3dc1f2f94f82a101bae7617a9118 (diff) | |
download | obexd-672a8ed77e5c5e7b24523cb7c8e16ad006d6183d.tar.gz |
gobex: Fix opcode for Action command convenience functions
Diffstat (limited to 'gobex')
-rw-r--r-- | gobex/gobex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c index 0119c46..97fb3c3 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, |