Skip to content

Instantly share code, notes, and snippets.

@jgeboski
Created August 12, 2015 05:47
Show Gist options
  • Save jgeboski/41b9386219f72802e747 to your computer and use it in GitHub Desktop.
Save jgeboski/41b9386219f72802e747 to your computer and use it in GitHub Desktop.
diff --git a/steam/steam-api.c b/steam/steam-api.c
index a4ce110..2d42eaf 100644
--- a/steam/steam-api.c
+++ b/steam/steam-api.c
@@ -1336,12 +1336,11 @@ static void steam_api_cb_user_info(SteamApiReq *req, const json_value *json)
}
g_hash_table_destroy(ght);
- req = steam_api_req_fwd(req);
- if (!g_queue_is_empty(req->infr))
+ if (!g_queue_is_empty(req->infr)) {
+ req = steam_api_req_fwd(req);
steam_api_req_user_info(req);
- else
- steam_api_req_user_info_extra(req);
+ }
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment