Mercurial > pidgin
comparison src/protocols/msn/nexus.c @ 19813:6bc69cd68d3c
[gaim-migrate @ 16955]
fix the authentication string fs 's bug
comitted by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Mon, 21 Aug 2006 17:40:07 +0000 |
parents | d928bccffe4c |
children | bffd1b96207c |
comparison
equal
deleted
inserted
replaced
19812:d928bccffe4c | 19813:6bc69cd68d3c |
---|---|
206 session->nexus = NULL; | 206 session->nexus = NULL; |
207 return; | 207 return; |
208 } | 208 } |
209 | 209 |
210 if(!fs){ | 210 if(!fs){ |
211 fs =g_strdup_printf("1"); | 211 fs =g_strdup("1"); |
212 } | 212 } |
213 challenge_str = g_strdup_printf( | 213 challenge_str = g_strdup_printf( |
214 "lc=%s&id=%s&tw=%s&fs=%s&ru=%s&ct=%s&kpp=%s&kv=%s&ver=%s&rn=%s&tpf=%s\r\n", | 214 "lc=%s&id=%s&tw=%s&fs=%s&ru=%s&ct=%s&kpp=%s&kv=%s&ver=%s&rn=%s&tpf=%s\r\n", |
215 lc,id,tw,fs,ru,ct,kpp,kv,ver,rn,tpf | 215 lc,id,tw,fs,ru,ct,kpp,kv,ver,rn,tpf |
216 ); | 216 ); |
217 g_free(fs); | 217 if(!fs){ |
218 g_free(fs); | |
219 } | |
218 | 220 |
219 /*build the SOAP windows Live ID XML body */ | 221 /*build the SOAP windows Live ID XML body */ |
220 tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE,username,password,challenge_str ); | 222 tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE,username,password,challenge_str ); |
221 | 223 |
222 soapconn->login_path = g_strdup(TWN_POST_URL); | 224 soapconn->login_path = g_strdup(TWN_POST_URL); |