# HG changeset patch # User Luke Schierer # Date 1031707098 0 # Node ID 8de976fe3ed88d7774872b15ff03bdf97b74348a # Parent 4b204c2623763c3f07a5736002bd7328d046acb2 [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 diff -r 4b204c262376 -r 8de976fe3ed8 src/protocols/yahoo/yahoo.c --- 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;