From: <may...@us...> - 2006-08-21 17:40:13
|
Revision: 16955 Author: mayuan2006 Date: 2006-08-21 10:40:07 -0700 (Mon, 21 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16955&view=rev Log Message: ----------- fix the authentication string fs 's bug comitted by Ma Yuan<may...@gm...> Modified Paths: -------------- branches/soc-2006-msnp13/src/protocols/msn/nexus.c Modified: branches/soc-2006-msnp13/src/protocols/msn/nexus.c =================================================================== --- branches/soc-2006-msnp13/src/protocols/msn/nexus.c 2006-08-21 17:13:16 UTC (rev 16954) +++ branches/soc-2006-msnp13/src/protocols/msn/nexus.c 2006-08-21 17:40:07 UTC (rev 16955) @@ -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 ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |