comparison libpurple/protocols/msn/httpconn.c @ 32709:1a2840d2cd02

Fix for previous commit.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 21:11:11 +0000
parents 10e5000326a5
children 50cd80d3554e
comparison
equal deleted inserted replaced
32708:10e5000326a5 32709:1a2840d2cd02
284 284
285 httpconn = data; 285 httpconn = data;
286 servconn = httpconn->servconn; 286 servconn = httpconn->servconn;
287 287
288 if (servconn->type == MSN_SERVCONN_NS) { 288 if (servconn->type == MSN_SERVCONN_NS) {
289 PurpleConnection *gc = purple_account_get_connection(servconn->session); 289 PurpleConnection *gc = purple_account_get_connection(servconn->session->account);
290 gc->last_received = time(NULL); 290 gc->last_received = time(NULL);
291 } 291 }
292 292
293 len = read(httpconn->fd, buf, sizeof(buf) - 1); 293 len = read(httpconn->fd, buf, sizeof(buf) - 1);
294 if (len < 0 && errno == EAGAIN) 294 if (len < 0 && errno == EAGAIN)