summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2009-08-25 17:42:39 +0100
committerDafydd Harries <dafydd.harries@collabora.co.uk>2009-09-03 00:47:38 +0100
commit540a62866a040013ba7165fb9d6fd6e49eba9aab (patch)
tree96be36b8536519333e91154e9942eb7dfc38916c /src/util.h
parent1d6d8200a2cc15a6024de323724673f66caecd42 (diff)
downloadtelepathy-gabble-540a62866a040013ba7165fb9d6fd6e49eba9aab.tar.gz
make gabble_decode_jid() return a boolean
For now, it always returns TRUE. Also, change all callers to check the result.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 0bdde9bf5..1cf1ddf3e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -61,8 +61,8 @@ G_GNUC_NULL_TERMINATED LmMessage * lm_message_build_with_sub_type (
const gchar *to, LmMessageType type, LmMessageSubType sub_type,
guint spec, ...);
-/* format: a@b/c */
-void gabble_decode_jid (const gchar *jid, gchar **a, gchar **b, gchar **c);
+G_GNUC_WARN_UNUSED_RESULT
+gboolean gabble_decode_jid (const gchar *jid, gchar **a, gchar **b, gchar **c);
gchar *gabble_remove_resource (const gchar *jid);
gchar *gabble_normalize_contact (TpHandleRepoIface *repo, const gchar *jid,