# HG changeset patch # User Nathan Walp # Date 1047314176 0 # Node ID 78d5be1af6a66d14fc27322e346aa83f2909de7d # Parent a81443d3516b61df7c530c36aea711bb7ab42ba4 [gaim-migrate @ 5004] this fixes the problem with special characters in screennames getting stripped. I think this only affects jabber, which is the only one that allows such nonsense ;-) committer: Tailor Script diff -r a81443d3516b -r 78d5be1af6a6 src/gaimrc.c --- a/src/gaimrc.c Mon Mar 10 07:21:18 2003 +0000 +++ b/src/gaimrc.c Mon Mar 10 16:36:16 2003 +0000 @@ -575,14 +575,16 @@ static void gaimrc_write_user(FILE *f, struct gaim_account *account) { - char *c; + char *c, *d; int nl = 1, i; if (account->options & OPT_ACCT_REM_PASS) { - fprintf(f, "\t\tident { %s } { %s }\n", account->username, (c = escape_text2(account->password))); + fprintf(f, "\t\tident { %s } { %s }\n", (d = escape_text2(account->username)), (c = escape_text2(account->password))); free(c); + free(d); } else { - fprintf(f, "\t\tident { %s } { }\n", account->username); + fprintf(f, "\t\tident { %s } { }\n", (d = escape_text2(account->username))); + free(d); } fprintf(f, "\t\tuser_info {"); c = account->user_info;