No subject
Mon Oct 13 07:13:16 PDT 2008
---
telepathy-glib/connection-handles.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/telepathy-glib/connection-handles.c b/telepathy-glib/connection-handles.c
index 7ade4a4..0726eaf 100644
--- a/telepathy-glib/connection-handles.c
+++ b/telepathy-glib/connection-handles.c
@@ -297,7 +297,8 @@ tp_connection_unref_handles (TpConnection *self,
/* if there's no hash table, then we can't have a ref to the handles -
* user error */
- g_return_if_fail (bucket->handle_refs[handle_type] != NULL);
+ g_return_if_fail (((void)"no refs exist to any handle of that type",
+ bucket->handle_refs[handle_type] != NULL));
handle_refs = bucket->handle_refs[handle_type];
@@ -310,7 +311,7 @@ tp_connection_unref_handles (TpConnection *self,
g_return_if_fail (handles[i] != 0);
/* if we have no refs, it's user error */
- g_return_if_fail (r != 0);
+ g_return_if_fail (((void)"no refs exist to one of the handles", r != 0));
if (r == 1)
{
--
1.5.6.5
More information about the Telepathy-commits
mailing list