[Pkg-telepathy-commits] [telepathy-glib] 02/12: channel-group: don't crash if no message has been provided
Simon McVittie
smcv at debian.org
Wed Jan 29 12:55:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-glib.
commit d4388c7c1fedb1e91b99075cd6b15b5cf573a302
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Thu Oct 24 14:38:45 2013 +0200
channel-group: don't crash if no message has been provided
---
telepathy-glib/channel-group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index c7f2b07..204e398 100644
--- a/telepathy-glib/channel-group.c
+++ b/telepathy-glib/channel-group.c
@@ -1096,7 +1096,7 @@ handle_members_changed (TpChannel *self,
const gchar *debug_message = tp_asv_get_string (details,
"debug-message");
- if (debug_message == NULL && message[0] != '\0')
+ if (debug_message == NULL && !tp_str_empty (message))
debug_message = message;
if (debug_message == NULL && error_detail != NULL)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib.git
More information about the Pkg-telepathy-commits
mailing list