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/misc.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/misc.c')
| -rw-r--r-- | protocols/oscar/misc.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/protocols/oscar/misc.c b/protocols/oscar/misc.c index e5c5c26f..58fb6c31 100644 --- a/protocols/oscar/misc.c +++ b/protocols/oscar/misc.c @@ -309,7 +309,6 @@ int aim_setdirectoryinfo(aim_session_t *sess, aim_conn_t *conn, const char *firs  int aim_setuserinterests(aim_session_t *sess, aim_conn_t *conn, const char *interest1, const char *interest2, const char *interest3, const char *interest4, const char *interest5, guint16 privacy)  {  	aim_frame_t *fr; -	aim_snacid_t snacid;  	aim_tlvlist_t *tl = NULL;  	/* ?? privacy ?? */ @@ -329,7 +328,7 @@ int aim_setuserinterests(aim_session_t *sess, aim_conn_t *conn, const char *inte  	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+aim_sizetlvchain(&tl))))  		return -ENOMEM; -	snacid = aim_cachesnac(sess, 0x0002, 0x000f, 0x0000, NULL, 0); +	aim_cachesnac(sess, 0x0002, 0x000f, 0x0000, NULL, 0);  	aim_putsnac(&fr->data, 0x0002, 0x000f, 0x0000, 0);  	aim_writetlvchain(&fr->data, &tl); | 
