Cheevos: Don't choke on long passwords
This commit is contained in:
parent
a0e97059f5
commit
1893bfd248
|
@ -166,8 +166,8 @@ int rc_url_get_badge_image(char* buffer, size_t size, const char* badge_name) {
|
|||
}
|
||||
|
||||
int rc_url_login_with_password(char* buffer, size_t size, const char* user_name, const char* password) {
|
||||
char urle_user_name[64];
|
||||
char urle_password[64];
|
||||
char urle_user_name[256];
|
||||
char urle_password[256];
|
||||
int written;
|
||||
|
||||
if (rc_url_encode(urle_user_name, sizeof(urle_user_name), user_name) != 0) {
|
||||
|
|
|
@ -366,7 +366,7 @@ static void LoginASyncCallback(s32 status_code, const FrontendCommon::HTTPDownlo
|
|||
|
||||
static void SendLogin(const char* username, const char* password, FrontendCommon::HTTPDownloader* http_downloader)
|
||||
{
|
||||
char url[256] = {};
|
||||
char url[768] = {};
|
||||
int res = rc_url_login_with_password(url, sizeof(url), username, password);
|
||||
Assert(res == 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue