diff options
author | Eion Robb <eion@robbmob.com> | 2019-09-11 05:41:09 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2019-09-11 05:41:09 +0300 |
commit | ac9f7d2c78ba9760d805674758610958a2903f43 (patch) | |
tree | 1070023c3539f0905836f3cdcd4cb095ebc8e1d2 /steam-mobile | |
parent | a68e311bce0bc52cd2556c9b14ea5009ebb5f83c (diff) |
Fix intermittent crashes when being rate limited. See issue #183
Diffstat (limited to 'steam-mobile')
-rw-r--r-- | steam-mobile/steam_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/steam-mobile/steam_connection.c b/steam-mobile/steam_connection.c index 0bc3816..7415f7f 100644 --- a/steam-mobile/steam_connection.c +++ b/steam-mobile/steam_connection.c @@ -235,7 +235,7 @@ static void steam_connection_process_data(SteamConnection *steamcon) g_free(tmp); //We got rate-limited, try again - SteamConnection *steamcon_dup = g_memdup(steamcon, sizeof(steamcon)); + SteamConnection *steamcon_dup = g_memdup(steamcon, sizeof(SteamConnection)); steamcon->request = NULL; steamcon->url = NULL; steamcon->hostname = NULL; |