diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2009-08-25 17:42:39 +0100 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2009-09-03 00:47:38 +0100 |
commit | 540a62866a040013ba7165fb9d6fd6e49eba9aab (patch) | |
tree | 96be36b8536519333e91154e9942eb7dfc38916c /src/util.h | |
parent | 1d6d8200a2cc15a6024de323724673f66caecd42 (diff) | |
download | telepathy-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.h | 4 |
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, |