| 633 body = msim_msg_get_dictionary(userinfo, "body"); |
633 body = msim_msg_get_dictionary(userinfo, "body"); |
| 634 |
634 |
| 635 if (!body) { |
635 if (!body) { |
| 636 purple_debug_info("msim_username_is_available_cb", "No body for %s?!\n", username); |
636 purple_debug_info("msim_username_is_available_cb", "No body for %s?!\n", username); |
| 637 purple_connection_error_reason(session->gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, |
637 purple_connection_error_reason(session->gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, |
| 638 "An error occured while trying to set the username.\n" |
638 "An error occurred while trying to set the username.\n" |
| 639 "Please try again, or visit http://editprofile.myspace.com/index.cfm?" |
639 "Please try again, or visit http://editprofile.myspace.com/index.cfm?" |
| 640 "fuseaction=profile.username to set your username."); |
640 "fuseaction=profile.username to set your username."); |
| 641 return; |
641 return; |
| 642 } |
642 } |
| 643 |
643 |
| 776 cmd = msim_msg_get_integer(userinfo, "cmd"); |
776 cmd = msim_msg_get_integer(userinfo, "cmd"); |
| 777 dsn = msim_msg_get_integer(userinfo, "dsn"); |
777 dsn = msim_msg_get_integer(userinfo, "dsn"); |
| 778 uid = msim_msg_get_integer(userinfo, "uid"); |
778 uid = msim_msg_get_integer(userinfo, "uid"); |
| 779 lid = msim_msg_get_integer(userinfo, "lid"); |
779 lid = msim_msg_get_integer(userinfo, "lid"); |
| 780 body = msim_msg_get_dictionary(userinfo, "body"); |
780 body = msim_msg_get_dictionary(userinfo, "body"); |
| 781 errmsg = g_strdup("An error occured while trying to set the username.\n" |
781 errmsg = g_strdup("An error occurred while trying to set the username.\n" |
| 782 "Please try again, or visit http://editprofile.myspace.com/index.cfm?" |
782 "Please try again, or visit http://editprofile.myspace.com/index.cfm?" |
| 783 "fuseaction=profile.username to set your username."); |
783 "fuseaction=profile.username to set your username."); |
| 784 |
784 |
| 785 if (!body) { |
785 if (!body) { |
| 786 purple_debug_info("msim_username_is_set_cb", "No body"); |
786 purple_debug_info("msim_username_is_set_cb", "No body"); |