pidgin: e3ceb09b: MsnSlpSession->call_id isn't used anywhe...

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Jul 16 05:20:45 EDT 2008


-----------------------------------------------------------------
Revision: e3ceb09b71185a9074ce73733f2a65b437c9a545
Ancestor: 939e3c34d8f57c42ac9b90c003aa3f62cf33361d
Author: markdoliner at pidgin.im
Date: 2008-07-16T09:16:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e3ceb09b71185a9074ce73733f2a65b437c9a545

Modified files:
        libpurple/protocols/msn/slpsession.c
        libpurple/protocols/msn/slpsession.h

ChangeLog: 

MsnSlpSession->call_id isn't used anywhere, so get rid of it

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpsession.c	c9755afff147cb825e0271a98d875825785f3b26
+++ libpurple/protocols/msn/slpsession.c	58cece74c9215ab5e8677376ed164ae085bdec28
@@ -38,7 +38,6 @@ msn_slp_session_new(MsnSlpCall *slpcall)
 
 	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 @@ msn_slp_session_destroy(MsnSlpSession *s
 {
 	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);
 
============================================================
--- libpurple/protocols/msn/slpsession.h	c517973d7c955c7f606495a17064ff941877f349
+++ libpurple/protocols/msn/slpsession.h	e7601aa4d78f26732296da7608209ea7862962d9
@@ -38,7 +38,6 @@ struct _MsnSlpSession
 	long id;
 
 	long app_id;
-	char *call_id;
 };
 
 MsnSlpSession *msn_slp_session_new(MsnSlpCall *slpcall);


More information about the Commits mailing list