Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/session.c @ 20310:311000f10bb0
applied changes from 02a88f67c2a77e3dc2ec3868ea0c68192193c33f
through 614efd22968bb59c279872f991d97f3053ded4f0
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 19 Oct 2007 17:11:34 +0000 |
parents | 44b4e8bd759b |
children | 6531c165dc94 |
comparison
equal
deleted
inserted
replaced
20309:d256249b22ea | 20310:311000f10bb0 |
---|---|
119 | 119 |
120 void | 120 void |
121 msn_session_disconnect(MsnSession *session) | 121 msn_session_disconnect(MsnSession *session) |
122 { | 122 { |
123 g_return_if_fail(session != NULL); | 123 g_return_if_fail(session != NULL); |
124 g_return_if_fail(session->connected); | 124 |
125 if (!session->connected) | |
126 return; | |
125 | 127 |
126 session->connected = FALSE; | 128 session->connected = FALSE; |
127 | 129 |
128 while (session->switches != NULL) | 130 while (session->switches != NULL) |
129 msn_switchboard_close(session->switches->data); | 131 msn_switchboard_close(session->switches->data); |