diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-03-23 18:48:38 -0400 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-05-18 09:09:46 +0100 |
commit | c5cbc071e6fa558a599ef57545bce5deb56f6789 (patch) | |
tree | 30a3b1b3fe851307132a423c328ab4a765e8bf41 | |
parent | a71f4c62ac847c8d2cf78cb6b7db62786b82dd1b (diff) |
private-tubes-factory: make error messages less specific
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | 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 5b068c5a3..c325d0cd2 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); |