changeset 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 9a203ff977f6
children 6ee64d62c43c
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 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);
 }