pidgin: 11ea1799: Revert the part of 280dc76b which broke ...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sat Nov 29 13:25:34 EST 2008


-----------------------------------------------------------------
Revision: 11ea1799b1892059650fa7dcf6e848a020045e50
Ancestor: b5d1237ae4c4f0f1689014d6402bad1c1fbb9ea9
Author: rekkanoryo at pidgin.im
Date: 2008-11-29T18:20:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/11ea1799b1892059650fa7dcf6e848a020045e50

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

ChangeLog: 

Revert the part of 280dc76b which broke XMPP resources such that only those
assigned by the server would work.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	0bcffc1ebedf9cb4d1a0cbf55c98323f03c0a7cf
+++ libpurple/protocols/jabber/jabber.c	ececcbdd7b75e6d939abd56355ac85694d240078
@@ -150,7 +150,7 @@ static char *jabber_prep_resource(char *
 	char hostname[256]; /* current hostname */
 
 	/* Empty resource == don't send any */
-	if (*input == '\0' || strstr(input, "__HOSTNAME__") == NULL)
+	if (*input == '\0')
 		return NULL;
 
 	/* Replace __HOSTNAME__ with hostname */


More information about the Commits mailing list