changeset 23556:d3fad795bba5

MsnSlpSession->call_id isn't used anywhere, so get rid of it
author Mark Doliner <mark@kingant.net>
date Wed, 16 Jul 2008 09:16:52 +0000
parents 951bb9ca9d01
children aaaff38e144f e23b447aa5ca
files libpurple/protocols/msn/slpsession.c libpurple/protocols/msn/slpsession.h
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpsession.c	Wed Jul 16 09:11:03 2008 +0000
+++ b/libpurple/protocols/msn/slpsession.c	Wed Jul 16 09:16:52 2008 +0000
@@ -38,7 +38,6 @@
 
 	slpsession->slpcall = slpcall;
 	slpsession->id = slpcall->session_id;
-	slpsession->call_id = slpcall->id;
 	slpsession->app_id = slpcall->app_id;
 
 	slpcall->slplink->slp_sessions =
@@ -52,9 +51,6 @@
 {
 	g_return_if_fail(slpsession != NULL);
 
-	if (slpsession->call_id != NULL)
-		g_free(slpsession->call_id);
-
 	slpsession->slpcall->slplink->slp_sessions =
 		g_list_remove(slpsession->slpcall->slplink->slp_sessions, slpsession);
 
--- a/libpurple/protocols/msn/slpsession.h	Wed Jul 16 09:11:03 2008 +0000
+++ b/libpurple/protocols/msn/slpsession.h	Wed Jul 16 09:16:52 2008 +0000
@@ -38,7 +38,6 @@
 	long id;
 
 	long app_id;
-	char *call_id;
 };
 
 MsnSlpSession *msn_slp_session_new(MsnSlpCall *slpcall);