im.pidgin.pidgin: 614efd22968bb59c279872f991d97f3053ded4f0

datallah at pidgin.im datallah at pidgin.im
Wed Oct 3 21:21:50 EDT 2007


revision:            614efd22968bb59c279872f991d97f3053ded4f0
date:                2007-10-04T01:07:35
author:              datallah at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Prevent an assertion (w/ G_DEBUG=fatal_warnings) when the connection drops.

manifest:
format_version "1"

new_manifest [aac123d57d4ce3c5cd7af9694caf536de8d37405]

old_revision [02a88f67c2a77e3dc2ec3868ea0c68192193c33f]

patch "libpurple/protocols/msn/session.c"
 from [f4b8c4e2e4a0aafdcd74c44eb8ed55a7437f5599]
   to [b50e541ab8853cf4e75106f0dad23f776d3b74f7]
-------------- next part --------------
#
#
# patch "libpurple/protocols/msn/session.c"
#  from [f4b8c4e2e4a0aafdcd74c44eb8ed55a7437f5599]
#    to [b50e541ab8853cf4e75106f0dad23f776d3b74f7]
#
============================================================
--- libpurple/protocols/msn/session.c	f4b8c4e2e4a0aafdcd74c44eb8ed55a7437f5599
+++ libpurple/protocols/msn/session.c	b50e541ab8853cf4e75106f0dad23f776d3b74f7
@@ -130,8 +130,10 @@ msn_session_disconnect(MsnSession *sessi
 msn_session_disconnect(MsnSession *session)
 {
 	g_return_if_fail(session != NULL);
-	g_return_if_fail(session->connected);
 
+	if (!session->connected)
+		return;
+
 	session->connected = FALSE;
 
 	while (session->switches != NULL)


More information about the Commits mailing list