Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.c @ 30409: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 |
comparison
equal
deleted
inserted
replaced
30408:9a203ff977f6 | 30409:7c9a4235342c |
---|---|
203 | 203 |
204 /* We want only the short hostname, not the FQDN - this will prevent the | 204 /* We want only the short hostname, not the FQDN - this will prevent the |
205 * resource string from being unreasonably long on systems which stuff the | 205 * resource string from being unreasonably long on systems which stuff the |
206 * whole FQDN in the hostname */ | 206 * whole FQDN in the hostname */ |
207 if((dot = strchr(hostname, '.'))) | 207 if((dot = strchr(hostname, '.'))) |
208 dot = '\0'; | 208 *dot = '\0'; |
209 | 209 |
210 return purple_strreplace(input, "__HOSTNAME__", hostname); | 210 return purple_strreplace(input, "__HOSTNAME__", hostname); |
211 } | 211 } |
212 | 212 |
213 static gboolean | 213 static gboolean |