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:
authorEion Robb <eion@robbmob.com>2019-09-11 05:41:09 +0300
committerEion Robb <eion@robbmob.com>2019-09-11 05:41:09 +0300
commitac9f7d2c78ba9760d805674758610958a2903f43 (patch)
tree1070023c3539f0905836f3cdcd4cb095ebc8e1d2
parenta68e311bce0bc52cd2556c9b14ea5009ebb5f83c (diff)
Fix intermittent crashes when being rate limited. See issue #183
-rw-r--r--steam-mobile/steam_connection.c2
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;