Mercurial > pidgin
comparison libfaim/aim_txqueue.c @ 281:7b06ba09ffe2
[gaim-migrate @ 291]
So someone today told me I should make it so the permit list works, so I did.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 30 May 2000 23:49:54 +0000 |
parents | 501e09c51cbc |
children | 0f14e6d8a51b |
comparison
equal
deleted
inserted
replaced
280:e606585a38bd | 281:7b06ba09ffe2 |
---|---|
139 * before enqueuement (in aim_tx_enqueue()). | 139 * before enqueuement (in aim_tx_enqueue()). |
140 * | 140 * |
141 */ | 141 */ |
142 u_int aim_get_next_txseqnum(struct aim_conn_t *conn) | 142 u_int aim_get_next_txseqnum(struct aim_conn_t *conn) |
143 { | 143 { |
144 return ( ++conn->seqnum ); | 144 u_int ret; |
145 | |
146 faim_mutex_lock(&conn->seqnum_lock); | |
147 ret = ++conn->seqnum; | |
148 faim_mutex_unlock(&conn->seqnum_lock); | |
149 return ret; | |
145 } | 150 } |
146 | 151 |
147 /* | 152 /* |
148 * aim_tx_printqueue() | 153 * aim_tx_printqueue() |
149 * | 154 * |