[gaim-migrate @ 9953]

Wed, 02 Jun 2004 13:59:35 +0000

author
Evgueni Gavrilov
date
Wed, 02 Jun 2004 13:59:35 +0000
changeset 9168
0b5c140de555
parent 9167
d7bd0826f298
child 9169
f557f4ebae65

[gaim-migrate @ 9953]
SILC passphrase crash fix from Evgueni Gavrilov

committer: Ethan Blanton <elb@pidgin.im>

COPYRIGHT file | annotate | diff | comparison | revisions
src/protocols/silc/chat.c file | annotate | diff | comparison | revisions
--- a/COPYRIGHT	Wed Jun 02 05:38:56 2004 +0000
+++ b/COPYRIGHT	Wed Jun 02 13:59:35 2004 +0000
@@ -53,6 +53,7 @@
 Decklin Foster
 Adam Fritzler
 Max G.
+Evgueni V. Gavrilov
 Ignacy Gawedzki
 Michael Golden
 Ryan C. Gordon
--- a/src/protocols/silc/chat.c	Wed Jun 02 05:38:56 2004 +0000
+++ b/src/protocols/silc/chat.c	Wed Jun 02 13:59:35 2004 +0000
@@ -1081,7 +1081,7 @@
 	   do both 1 and 2 with default keys. */
 
 	/* Call JOIN */
-	if (passphrase)
+	if (passphrase && strlen (passphrase))
 		silc_client_command_call(client, conn, NULL, "JOIN",
 					 channel, passphrase, "-auth", "-founder", NULL);
 	else

mercurial