Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2015-02-16 05:05:35 +0300
committereionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2015-02-16 05:05:35 +0300
commit48d248c6560d5551f88a54714406cc42debc226d (patch)
tree0e77db55dc8f3755e59f3b928d3cdd6219f066cd
parent774b572d198e5b20a6ca35b7a28ce1fb9b954805 (diff)
Fix for infinite captcha-loop when there's a bad password
-rw-r--r--steam-mobile/libsteam.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c
index ab8ffc4..a8d89c8 100644
--- a/steam-mobile/libsteam.c
+++ b/steam-mobile/libsteam.c
@@ -259,10 +259,10 @@ steam_captcha_image_cb(PurpleUtilFetchUrlData *url_data, gpointer userdata, cons
group = purple_request_field_group_new(NULL);
purple_request_fields_add_group(fields, group);
- field = purple_request_field_image_new("captcha_image", "", response, len);
+ field = purple_request_field_image_new("captcha_image", _("Image"), response, len);
purple_request_field_group_add_field(group, field);
- field = purple_request_field_string_new("captcha_response", "", "", FALSE);
+ field = purple_request_field_string_new("captcha_response", _("Response"), "", FALSE);
purple_request_field_group_add_field(group, field);
purple_request_fields(sa->pc,
@@ -1049,6 +1049,9 @@ steam_set_steam_guard_token_cb(gpointer data, const gchar *steam_guard_token)
{
PurpleAccount *account = data;
+ if (steam_guard_token == NULL)
+ steam_guard_token = "";
+
purple_account_set_string(account, "steam_guard_code", steam_guard_token);
if (!purple_account_get_enabled(account, purple_core_get_ui())) {