summaryrefslogtreecommitdiff
path: root/unit/test-gobex.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-09 16:26:46 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:01 +0100
commit7f5cb418d3a9d0389a14f3f07f5e8240dff7b476 (patch)
tree866b807d240afa16a6e55cdd868957fba784f25a /unit/test-gobex.c
parent1760e5f5f512791ed007c976193da61ab4bec131 (diff)
downloadbluez-7f5cb418d3a9d0389a14f3f07f5e8240dff7b476.tar.gz
gobex: Ignore unexpected responses (which can occur when aborting)
Diffstat (limited to 'unit/test-gobex.c')
-rw-r--r--unit/test-gobex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index 7a7cbe9de..6d14b516e 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -565,7 +565,7 @@ static void test_recv_unexpected(void)
g_obex_set_disconnect_function(obex, unexpected_disconn, &err);
- req = g_obex_packet_new(G_OBEX_RSP_SUCCESS, TRUE, NULL);
+ req = g_obex_packet_new(G_OBEX_RSP_CONTINUE, TRUE, NULL);
len = g_obex_packet_encode(req, buf, sizeof(buf));
g_assert_cmpint(len, >=, 0);