pidgin: d9eca6aa: I'm not sure why these were strings. Th...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Dec 16 19:00:57 EST 2008


-----------------------------------------------------------------
Revision: d9eca6aa02abb621aa1083ae57129e4fd86a428e
Ancestor: 5c6eda3812ca95919c40aced43b3fe297b870783
Author: markdoliner at pidgin.im
Date: 2008-12-16T21:47:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d9eca6aa02abb621aa1083ae57129e4fd86a428e

Modified files:
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

I'm not sure why these were strings.  The official client uses integers
here, and we use an int everywhere else

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c	b9a6dd2f4b1a1deec45f06f709c29c1565d8d458
+++ libpurple/protocols/myspace/myspace.c	bd3f9d8a59b7b00633df3f4dcc24daad156dc7a7
@@ -1161,7 +1161,7 @@ gboolean msim_we_are_logged_on(MsimSessi
 
 	/* Request IM info about ourself. */
 	msim_send(session,
-			"persist", MSIM_TYPE_STRING, g_strdup("persist"),
+			"persist", MSIM_TYPE_INTEGER, 1,
 			"sesskey", MSIM_TYPE_INTEGER, session->sesskey,
 			"dsn", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_DSN,
 			"uid", MSIM_TYPE_INTEGER, session->userid,
@@ -1171,8 +1171,9 @@ gboolean msim_we_are_logged_on(MsimSessi
 			NULL);
 
 	/* Request MySpace info about ourself. */
+	purple_debug_error("MARK", "Fetching info about ourself\n");
 	msim_send(session,
-			"persist", MSIM_TYPE_STRING, g_strdup("persist"),
+			"persist", MSIM_TYPE_INTEGER, 1,
 			"sesskey", MSIM_TYPE_INTEGER, session->sesskey,
 			"dsn", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_DSN,
 			"uid", MSIM_TYPE_INTEGER, session->userid,


More information about the Commits mailing list