changeset 3494:8de976fe3ed8

[gaim-migrate @ 3554] eric ding says this will work better. i didn't have any problems with the old code, but apparently some people get null spaces at the front of thier sn's Modified Files: src/protocols/yahoo/yahoo.c ---------------------------------------------------------------------- committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 11 Sep 2002 01:18:18 +0000
parents 4b204c262376
children adaa8cbf79e9
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Sep 10 15:31:34 2002 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Sep 11 01:18:18 2002 +0000
@@ -970,7 +970,7 @@
 	struct gaim_connection *gc = new_gaim_conn(user);
 	struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1);
 
-	g_snprintf(gc->username, sizeof(gc->username), "%s", g_strstrip(gc->username));
+	g_strstrip(gc->username);
 	set_login_progress(gc, 1, "Connecting");
 
 	yd->fd = -1;