From: <ebl...@us...> - 2006-12-22 00:47:44
|
Revision: 18041 http://svn.sourceforge.net/gaim/?rev=18041&view=rev Author: eblanton Date: 2006-12-21 16:47:43 -0800 (Thu, 21 Dec 2006) Log Message: ----------- The IRC room namelist was not being parsed properly on ircds which do not append a space following the last nick on a 353 line which is not final. The RFC does not seem to require such a space, and apparently some servers do not send it. Thanks to jphendrix for pointing this out. Modified Paths: -------------- trunk/libgaim/protocols/irc/msgs.c Modified: trunk/libgaim/protocols/irc/msgs.c =================================================================== --- trunk/libgaim/protocols/irc/msgs.c 2006-12-21 23:57:27 UTC (rev 18040) +++ trunk/libgaim/protocols/irc/msgs.c 2006-12-22 00:47:43 UTC (rev 18041) @@ -434,6 +434,8 @@ if (!irc->names) irc->names = g_string_new(""); + if (irc->names->len && irc->names->str[irc->names->len - 1] != ' ') + irc->names = g_string_append_c(irc->names, ' '); irc->names = g_string_append(irc->names, args[3]); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |