Update of /cvsroot/gaim/gaim/src/protocols/toc
In directory usw-pr-cvs1:/tmp/cvs-serv14588/protocols/toc
Modified Files:
toc.c
Log Message:
don't go in the FUCKING window
Index: toc.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- toc.c 2001/11/30 21:16:28 1.36
+++ toc.c 2001/12/06 20:13:24 1.37
@@ -130,7 +130,6 @@
static void toc_login_callback(gpointer, gint, GaimInputCondition);
static void toc_callback(gpointer, gint, GaimInputCondition);
-static unsigned char *roast_password(char *);
static void accept_file_dialog(struct ft_request *);
/* ok. this function used to take username/password, and return 0 on success.
@@ -514,6 +513,9 @@
}
debug_printf("* Client sends TOC \"toc_signon\" message\n");
+ /* i hate icq. */
+ if (gc->username[0] >= '0' && gc->username[0] <= '9')
+ gc->password[9] = '\0';
g_snprintf(snd, sizeof snd, "toc_signon %s %d %s %s %s \"%s\"",
AUTH_HOST, AUTH_PORT, normalize(gc->username),
roast_password(gc->password), LANGUAGE, REVISION);
|