diff options
author | dequis <dx@dxzone.com.ar> | 2015-01-18 02:18:40 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-01-25 23:43:34 -0300 |
commit | 8519f457c31139750b9f7497834ac90a57196d22 (patch) | |
tree | 8a86d07256269255c927c2ff652cc26f5048e6ca /protocols/oscar/chat.c | |
parent | 95e17fc1eacde2a4b4f2948e99701bc2bf6d75ec (diff) |
Silence some oscar compilation warnings
And that's enough editing of the oscar protocol code for 2015
Diffstat (limited to 'protocols/oscar/chat.c')
-rw-r--r-- | protocols/oscar/chat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/oscar/chat.c b/protocols/oscar/chat.c index d8399563..6c8d8998 100644 --- a/protocols/oscar/chat.c +++ b/protocols/oscar/chat.c @@ -66,7 +66,8 @@ int aim_chat_send_im(aim_session_t *sess, aim_conn_t *conn, guint16 flags, const * */ for (i = 0; i < sizeof(ckstr); i++) - aimutil_put8(ckstr+i, (guint8) rand()); + (void) aimutil_put8(ckstr+i, (guint8) rand()); + cookie = aim_mkcookie(ckstr, AIM_COOKIETYPE_CHAT, NULL); cookie->data = NULL; /* XXX store something useful here */ @@ -227,7 +228,7 @@ int aim_chat_invite(aim_session_t *sess, aim_conn_t *conn, const char *sn, const * Cookie */ for (i = 0; i < sizeof(ckstr); i++) - aimutil_put8(ckstr, (guint8) rand()); + (void) aimutil_put8(ckstr, (guint8) rand()); /* XXX should be uncached by an unwritten 'invite accept' handler */ if ((priv = g_malloc(sizeof(struct aim_invite_priv)))) { |