From: Luke S. <lsc...@us...> - 2002-09-11 01:18:22
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory usw-pr-cvs1:/tmp/cvs-serv5094/src/protocols/yahoo Modified Files: yahoo.c Log Message: 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 ---------------------------------------------------------------------- Index: yahoo.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- yahoo.c 10 Sep 2002 15:31:34 -0000 1.47 +++ yahoo.c 11 Sep 2002 01:18:18 -0000 1.48 @@ -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; |