changeset 24779:e5f8d9ba84db

I'm not sure why these were strings. The official client uses integers here, and we use an int everywhere else
author Mark Doliner <mark@kingant.net>
date Tue, 16 Dec 2008 21:47:44 +0000
parents 5f8e8b89b143
children d7fad2c0cf7c
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Tue Dec 16 21:31:05 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Tue Dec 16 21:47:44 2008 +0000
@@ -1161,7 +1161,7 @@
 
 	/* 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 @@
 			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,