diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-09-24 15:14:48 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-09-24 15:14:48 +0100 |
commit | 104bae4b182ade5d2942bfcd18511f7eb927572d (patch) | |
tree | 988739e34c18649d710fbba7df8ff3a6a4958b06 /tests/wocky-porter-test.c | |
parent | 481054a85e50a0c5b584d2a6e95b2fff33ccb604 (diff) |
pass the reason of the disconnection to the send IQ callback
Diffstat (limited to 'tests/wocky-porter-test.c')
-rw-r--r-- | tests/wocky-porter-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wocky-porter-test.c b/tests/wocky-porter-test.c index 9bad2f3..fbb64bd 100644 --- a/tests/wocky-porter-test.c +++ b/tests/wocky-porter-test.c @@ -2184,7 +2184,8 @@ test_wait_iq_reply_close_reply_cb (GObject *source, reply = wocky_porter_send_iq_finish (WOCKY_PORTER (source), res, &error); g_assert (reply == NULL); - g_assert_error (error, WOCKY_PORTER_ERROR, WOCKY_PORTER_ERROR_CLOSED); + g_assert_error (error, WOCKY_XMPP_CONNECTION_ERROR, + WOCKY_XMPP_CONNECTION_ERROR_CLOSED); g_error_free (error); test->outstanding--; |