comparison src/protocols/msn/httpconn.c @ 13915:e78d113f82db

[gaim-migrate @ 16416] Stu pointed out two of my classic blunders! (Nineteen penguin points to the first person to figure out what movie I'm alluding to.) The MSN http connect method works now. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 03 Jul 2006 21:19:56 +0000
parents 3ae8a3935406
children 10e8eb6a4910
comparison
equal deleted inserted replaced
13914:3ae8a3935406 13915:e78d113f82db
272 char buf[MSN_BUF_LEN]; 272 char buf[MSN_BUF_LEN];
273 char *cur, *end, *old_rx_buf; 273 char *cur, *end, *old_rx_buf;
274 int len, cur_len; 274 int len, cur_len;
275 char *result_msg = NULL; 275 char *result_msg = NULL;
276 size_t result_len = 0; 276 size_t result_len = 0;
277 gboolean error; 277 gboolean error = FALSE;
278 278
279 httpconn = data; 279 httpconn = data;
280 servconn = NULL; 280 servconn = NULL;
281 session = httpconn->session; 281 session = httpconn->session;
282 282
504 { 504 {
505 MsnHttpConn *httpconn; 505 MsnHttpConn *httpconn;
506 char *header; 506 char *header;
507 char *auth; 507 char *auth;
508 508
509 data = httpconn; 509 httpconn = data;
510 510
511 g_return_val_if_fail(httpconn != NULL, FALSE); 511 g_return_val_if_fail(httpconn != NULL, FALSE);
512 512
513 if ((httpconn->host == NULL) || (httpconn->full_session_id == NULL)) 513 if ((httpconn->host == NULL) || (httpconn->full_session_id == NULL))
514 { 514 {