changeset 20847:be363a3c618f

Fix CID 311 (Unnecessary null check)
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 09 Oct 2007 21:07:51 +0000
parents 49fcee9835aa
children 05f525c8f192
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Tue Oct 09 20:40:49 2007 +0000
+++ b/libpurple/protocols/jabber/google.c	Tue Oct 09 21:07:51 2007 +0000
@@ -110,7 +110,7 @@
 		tos[i] = (to_name != NULL ?  to_name : "");
 		froms[i] = (from != NULL ?  from : "");
 		subjects[i] = (subject != NULL ? subject : g_strdup(""));
-		urls[i] = (url != NULL ? url : "");
+		urls[i] = url;
 
 		tid = xmlnode_get_attrib(message, "tid");
 		if (tid &&