Mercurial > pidgin
comparison libfaim/aim_txqueue.c @ 1184:ed8855ae6632
[gaim-migrate @ 1194]
libfaim updates.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 01 Dec 2000 23:01:36 +0000 |
parents | efcacae6acdb |
children |
comparison
equal
deleted
inserted
replaced
1183:cda9dfc65693 | 1184:ed8855ae6632 |
---|---|
304 */ | 304 */ |
305 faim_mutex_lock(&cur->conn->active); | 305 faim_mutex_lock(&cur->conn->active); |
306 if (send(cur->conn->fd, curPacket, buflen, 0) != buflen) { | 306 if (send(cur->conn->fd, curPacket, buflen, 0) != buflen) { |
307 faim_mutex_unlock(&cur->conn->active); | 307 faim_mutex_unlock(&cur->conn->active); |
308 cur->sent = 1; | 308 cur->sent = 1; |
309 aim_conn_kill(sess, &cur->conn); | 309 aim_conn_close(cur->conn); |
310 return 0; /* bail out */ | 310 return 0; /* bail out */ |
311 } | 311 } |
312 | 312 |
313 if ((cur->hdrtype == AIM_FRAMETYPE_OFT) && cur->commandlen) { | 313 if ((cur->hdrtype == AIM_FRAMETYPE_OFT) && cur->commandlen) { |
314 if (send(cur->conn->fd, cur->data, cur->commandlen, 0) != (int)cur->commandlen) { | 314 if (send(cur->conn->fd, cur->data, cur->commandlen, 0) != (int)cur->commandlen) { |