telepathy-gabble: private-tubes-factory: make error messages more specific
Jonny Lamb
jonny at kemper.freedesktop.org
Tue Aug 28 06:19:31 PDT 2012
Module: telepathy-gabble
Branch: master
Commit: 6ae35c68a9451257b6cc136ed3dbd857241fdcd6
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=6ae35c68a9451257b6cc136ed3dbd857241fdcd6
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Fri Mar 23 18:48:38 2012 -0400
private-tubes-factory: make error messages more specific
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/private-tubes-factory.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 5b068c5..c325d0c 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -779,7 +779,7 @@ gabble_private_tubes_factory_handle_si_stream_request (
if (tmp == NULL)
{
GError e = { WOCKY_XMPP_ERROR, WOCKY_XMPP_ERROR_BAD_REQUEST,
- "<stream> or <muc-stream> has no tube attribute" };
+ "<stream> has no tube attribute" };
NODE_DEBUG (stream_node, e.message);
gabble_bytestream_iface_close (bytestream, &e);
@@ -789,7 +789,7 @@ gabble_private_tubes_factory_handle_si_stream_request (
if (!endptr || *endptr || tube_id_tmp > G_MAXUINT32)
{
GError e = { WOCKY_XMPP_ERROR, WOCKY_XMPP_ERROR_BAD_REQUEST,
- "<stream> or <muc-stream> tube attribute not numeric or > 2**32" };
+ "<stream> tube attribute not numeric or > 2**32" };
DEBUG ("tube id is not numeric or > 2**32: %s", tmp);
gabble_bytestream_iface_close (bytestream, &e);
@@ -801,7 +801,7 @@ gabble_private_tubes_factory_handle_si_stream_request (
if (tube == NULL)
{
GError e = { WOCKY_XMPP_ERROR, WOCKY_XMPP_ERROR_BAD_REQUEST,
- "<stream> or <muc-stream> tube attribute points to a nonexistent "
+ "<stream> tube attribute points to a nonexistent "
"tube" };
DEBUG ("tube %u doesn't exist", tube_id);
More information about the telepathy-commits
mailing list