Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 10404:ce098e226486
[gaim-migrate @ 11649]
Make some things better, and some whitespace cleanup.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 24 Dec 2004 00:05:36 +0000 |
parents | 3e4ecbdf8d0a |
children | 046be0a754b6 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Dec 23 20:13:54 2004 +0000 +++ b/src/protocols/oscar/oscar.c Fri Dec 24 00:05:36 2004 +0000 @@ -6462,10 +6462,10 @@ static void oscar_chat_invite(GaimConnection *gc, int id, const char *message, const char *name) { OscarData *od = (OscarData *)gc->proto_data; struct chat_connection *ccon = find_oscar_chat(gc, id); - - if (!ccon) + + if (ccon == NULL) return; - + aim_im_sendch2_chatinvite(od->sess, name, message ? message : "", ccon->exchange, ccon->name, 0x0); } @@ -6491,7 +6491,7 @@ gaim_debug_info("oscar", "Attempting to leave room %s (currently in %d rooms)\n", b->name, count); - + c = find_oscar_chat(gc, gaim_conv_chat_get_id(GAIM_CONV_CHAT(b))); if (c != NULL) { if (od)