diff libpurple/protocols/jabber/google.c @ 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 848970b040a5
children b1fa7765ca4b
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 &&