pidgin: 869b348d: darkrain again

khc at pidgin.im khc at pidgin.im
Wed Dec 3 00:35:27 EST 2008


-----------------------------------------------------------------
Revision: 869b348da091601342a9431ddfbf91e9dc2b652f
Ancestor: f1327672337219c8907eea2d335efb0035e4b39e
Author: khc at pidgin.im
Date: 2008-12-03T05:31:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/869b348da091601342a9431ddfbf91e9dc2b652f

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

darkrain again


-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	236721f932fe5b0928bb1dbe80dad09828c7987c
+++ libpurple/protocols/jabber/jabber.c	fae89b85eb95cd4daf2e4349ffbbee7da0204bb2
@@ -154,7 +154,7 @@ static char *jabber_prep_resource(char *
 		return NULL;
 
 	if (strstr(input, "__HOSTNAME__") == NULL)
-		return input;
+		return g_strdup(input);
 
 	/* Replace __HOSTNAME__ with hostname */
 	if (gethostname(hostname, sizeof(hostname) - 1)) {


More information about the Commits mailing list