diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
commit | b041b521c8b347c4660b0920f17b92b9c1484f49 (patch) | |
tree | 28cc72e1ac3158dbdd6e2c908dcc8a848f0272e3 /protocols/oscar/rxqueue.c | |
parent | df98ee8b4abaa890a02e706d69b93724e8f7744d (diff) | |
parent | d7edadf94be620d226b569f5e14f45de7f08c03a (diff) |
Merging compiler warning fixes from vmiklos.
This change also uncovered one bug in groupchat handling in OSCAR, which
I fixed during the merge.
Diffstat (limited to 'protocols/oscar/rxqueue.c')
-rw-r--r-- | protocols/oscar/rxqueue.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/oscar/rxqueue.c b/protocols/oscar/rxqueue.c index 34f389af..081e967c 100644 --- a/protocols/oscar/rxqueue.c +++ b/protocols/oscar/rxqueue.c @@ -387,10 +387,8 @@ int aim_get_command(aim_session_t *sess, aim_conn_t *conn) * or we break. We must handle it just in case. */ if (aimbs_get8(&flaphdr) != 0x2a) { - guint8 start; - aim_bstream_rewind(&flaphdr); - start = aimbs_get8(&flaphdr); + aimbs_get8(&flaphdr); imcb_error(sess->aux_data, "FLAP framing disrupted"); aim_conn_close(conn); return -1; |