# HG changeset patch # User Ma Yuan # Date 1156182007 0 # Node ID 6bc69cd68d3c7c78114d1e510553979eafaf0dcb # Parent d928bccffe4ccbed8daca52c591dd7242dac1297 [gaim-migrate @ 16955] fix the authentication string fs 's bug comitted by Ma Yuan committer: Ethan Blanton diff -r d928bccffe4c -r 6bc69cd68d3c src/protocols/msn/nexus.c --- a/src/protocols/msn/nexus.c Mon Aug 21 16:16:10 2006 +0000 +++ b/src/protocols/msn/nexus.c Mon Aug 21 17:40:07 2006 +0000 @@ -208,13 +208,15 @@ } if(!fs){ - fs =g_strdup_printf("1"); + fs =g_strdup("1"); } challenge_str = g_strdup_printf( "lc=%s&id=%s&tw=%s&fs=%s&ru=%s&ct=%s&kpp=%s&kv=%s&ver=%s&rn=%s&tpf=%s\r\n", lc,id,tw,fs,ru,ct,kpp,kv,ver,rn,tpf ); - g_free(fs); + if(!fs){ + g_free(fs); + } /*build the SOAP windows Live ID XML body */ tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE,username,password,challenge_str );