Mercurial > pidgin
changeset 15809:d704829a07b2
This is tidier
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Sat, 17 Mar 2007 17:40:19 +0000 |
| parents | b0d74443fa2a |
| children | 6c686942a227 |
| files | libpurple/connection.c |
| diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/connection.c Sat Mar 17 17:38:12 2007 +0000 +++ b/libpurple/connection.c Sat Mar 17 17:40:19 2007 +0000 @@ -446,10 +446,8 @@ ops = gaim_connections_get_ui_ops(); - if (ops != NULL) { - if (ops->report_disconnect != NULL) - ops->report_disconnect(gc, text); - } + if (ops != NULL && ops->report_disconnect != NULL) + ops->report_disconnect(gc, text); gc->disconnect_timeout = gaim_timeout_add(0, gaim_connection_disconnect_cb, gaim_connection_get_account(gc));
