# HG changeset patch # User Mark Doliner # Date 1229464064 0 # Node ID e5f8d9ba84db4d52eb21fd84b7f215a013736420 # Parent 5f8e8b89b143feb4191c47d527ac6fc8f8358aab I'm not sure why these were strings. The official client uses integers here, and we use an int everywhere else diff -r 5f8e8b89b143 -r e5f8d9ba84db libpurple/protocols/myspace/myspace.c --- 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,