changeset 23024:01a08e285073

applied changes from f3703d89403f9f8e8b927beeb2f2ac05628c371d through d99b567b2df0833b855496e7466e6c4c2d9d2329
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 03:10:50 +0000
parents 0f94ed7e362b
children 2565ccc4898c
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Thu Jun 19 03:10:06 2008 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Thu Jun 19 03:10:50 2008 +0000
@@ -627,7 +627,7 @@
 	js->write_buffer = purple_circ_buffer_new(512);
 	js->old_length = 0;
 	js->keepalive_timeout = -1;
-	js->certificate_CN = g_strdup(connect_server[0] ? connect_server : js->user->domain);
+	js->certificate_CN = g_strdup(connect_server[0] ? connect_server : js->user ? js->user->domain : NULL);
 
 	if(!js->user) {
 		purple_connection_error_reason (gc,