aboutsummaryrefslogtreecommitdiffstats
path: root/src/launcherutil.c
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
committerLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
commite2f504523c0afa3db05e7e739f55e89266b1624c (patch)
tree39c0f42aa0b59ed9c76643766775f1ddd69a23e2 /src/launcherutil.c
parentdownload (but not parse) version manifest (diff)
add a little version stuff
Diffstat (limited to 'src/launcherutil.c')
-rw-r--r--src/launcherutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/launcherutil.c b/src/launcherutil.c
index 446bff9..38dddaa 100644
--- a/src/launcherutil.c
+++ b/src/launcherutil.c
@@ -222,6 +222,7 @@ CURLcode l2_launcher_download(CURL *cd, const char *url, void **odata, size_t *o
curl_easy_setopt(cd, CURLOPT_URL, url);
curl_easy_setopt(cd, CURLOPT_WRITEDATA, &db);
curl_easy_setopt(cd, CURLOPT_WRITEFUNCTION, l2_dlcb);
+ curl_easy_setopt(cd, CURLOPT_USERAGENT, L2_USER_AGENT);
if ((code = curl_easy_perform(cd)) != CURLE_OK) {
l2_launcher_download_cleanup(&db);