comparison src/protocols/msn/nexus.c @ 19740:23258253c7a0

[gaim-migrate @ 16546] can login sucessfully Other's can see the online status Can chat with gaim. Some bug exist! will crash Some Problem existed on group management committed by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sun, 23 Jul 2006 09:19:12 +0000
parents 852b32710df0
children 7e36832172a9
comparison
equal deleted inserted replaced
19739:852b32710df0 19740:23258253c7a0
88 nexus = soapconn->parent; 88 nexus = soapconn->parent;
89 g_return_if_fail(nexus != NULL); 89 g_return_if_fail(nexus != NULL);
90 session = nexus->session; 90 session = nexus->session;
91 g_return_if_fail(session != NULL); 91 g_return_if_fail(session != NULL);
92 92
93 gaim_debug_misc("msn", "TWN Server Reply: {%s}\n", soapconn->read_buf); 93 // gaim_debug_misc("msn", "TWN Server Reply: {%s}\n", soapconn->read_buf);
94 94
95 if (strstr(soapconn->read_buf, "HTTP/1.1 302") != NULL){ 95 if (strstr(soapconn->read_buf, "HTTP/1.1 302") != NULL){
96 /* Redirect. */ 96 /* Redirect. */
97 char *location, *c; 97 char *location, *c;
98 98
261 "Connection: Keep-Alive\r\n" 261 "Connection: Keep-Alive\r\n"
262 "Cache-Control: no-cache\r\n\r\n", 262 "Cache-Control: no-cache\r\n\r\n",
263 soapconn->login_path,soapconn->login_host,strlen(tail)); 263 soapconn->login_path,soapconn->login_host,strlen(tail));
264 264
265 request_str = g_strdup_printf("%s%s", head,tail); 265 request_str = g_strdup_printf("%s%s", head,tail);
266 gaim_debug_misc("msn", "TWN Sending: {%s}\n", request_str); 266 // gaim_debug_misc("msn", "TWN Sending: {%s}\n", request_str);
267 267
268 g_free(head); 268 g_free(head);
269 g_free(tail); 269 g_free(tail);
270 g_free(username); 270 g_free(username);
271 g_free(password); 271 g_free(password);