diff libpurple/protocols/jabber/jabber.c @ 30842:7c9a4235342c

< QuLogic> on line 208 of jabber.c, should that be *dot? < darkrain42> Looks like it to me.
author Paul Aurich <paul@darkrain42.org>
date Sat, 14 Aug 2010 04:39:07 +0000
parents 2244a84407a4
children 6ee64d62c43c
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Thu Aug 12 17:05:07 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sat Aug 14 04:39:07 2010 +0000
@@ -205,7 +205,7 @@
 	 * resource string from being unreasonably long on systems which stuff the
 	 * whole FQDN in the hostname */
 	if((dot = strchr(hostname, '.')))
-			dot = '\0';
+		*dot = '\0';
 
 	return purple_strreplace(input, "__HOSTNAME__", hostname);
 }