cpw.qulogic.msnp16: 760b5358: Save the Endpoint ID with the data.

qulogic at pidgin.im qulogic at pidgin.im
Mon Dec 14 02:27:44 EST 2009


-----------------------------------------------------------------
Revision: 760b5358091ace33cde641239ad64aa3223a1ce6
Ancestor: d15bf628785d7f75d1e20ea90d5e351109495d17
Author: qulogic at pidgin.im
Date: 2009-12-09T21:29:29
Branch: im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/760b5358091ace33cde641239ad64aa3223a1ce6

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

ChangeLog: 

Save the Endpoint ID with the data.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/user.c	11c641bfbf2155f6e83a3b4c08ccd91df4e05934
+++ libpurple/protocols/msn/user.c	302ca71b4da9b0d764eb4aa6f5b1716052855f40
@@ -247,6 +247,7 @@ msn_user_set_endpoint_data(MsnUser *user
 	new = g_hash_table_lookup(user->endpoints, endpoint);
 	if (!new) {
 		new = g_new0(MsnUserEndpoint, 1);
+		new->id = g_strdup(endpoint);
 		g_hash_table_insert(user->endpoints, g_strdup(endpoint), new);
 	}
 
============================================================
--- libpurple/protocols/msn/user.h	a4cd55aed78ff3e069cf8c018b29fa0537ae642c
+++ libpurple/protocols/msn/user.h	7990a10be2c03772542c1863b19b168cca999a77
@@ -115,6 +115,7 @@ typedef struct MsnUserEndpoint {
  * A specific user endpoint.
  */
 typedef struct MsnUserEndpoint {
+	char *id;				/**< The client's endpoint ID          */
 	guint clientid;         /**< The client's ID                   */
 	guint extcaps;			/**< The client's extended capabilites */
 


More information about the Commits mailing list