Mercurial > pidgin
comparison src/protocols/oscar/txqueue.c @ 2270:d82efea341ef
[gaim-migrate @ 2280]
new libfaim. stupid bugs.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 12 Sep 2001 00:39:51 +0000 |
| parents | 933346315b9b |
| children | e68e2ba82310 |
comparison
equal
deleted
inserted
replaced
| 2269:7ff6170d84a0 | 2270:d82efea341ef |
|---|---|
| 200 */ | 200 */ |
| 201 faim_internal flap_seqnum_t aim_get_next_txseqnum(aim_conn_t *conn) | 201 faim_internal flap_seqnum_t aim_get_next_txseqnum(aim_conn_t *conn) |
| 202 { | 202 { |
| 203 flap_seqnum_t ret; | 203 flap_seqnum_t ret; |
| 204 | 204 |
| 205 faim_mutex_lock(&conn->seqnum_lock); | |
| 206 ret = ++conn->seqnum; | 205 ret = ++conn->seqnum; |
| 207 faim_mutex_unlock(&conn->seqnum_lock); | |
| 208 | 206 |
| 209 return ret; | 207 return ret; |
| 210 } | 208 } |
| 211 | 209 |
| 212 static int aim_send(int fd, const void *buf, size_t count) | 210 static int aim_send(int fd, const void *buf, size_t count) |
