diff options
author | Adam <adamdharrison@gmail.com> | 2022-09-18 17:37:45 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-09-18 17:37:45 -0400 |
commit | da37e3ed1e11853c5133c9851a4fc2dbf2ca8872 (patch) | |
tree | ceb417a9fdb539d0e5fa010151e0534348755103 /lpm.c | |
parent | d60333f917844e3fedfcdb6c8bba1eb8fc454cd9 (diff) | |
download | lite-xl-plugin-manager-da37e3ed1e11853c5133c9851a4fc2dbf2ca8872.tar.gz lite-xl-plugin-manager-da37e3ed1e11853c5133c9851a4fc2dbf2ca8872.zip |
Committing these before I really screw things up.
Diffstat (limited to 'lpm.c')
-rw-r--r-- | lpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -429,6 +429,7 @@ static int lpm_get(lua_State* L) { const char* path = luaL_optstring(L, 2, NULL); // curl_easy_reset(curl); curl_easy_setopt(curl, CURLOPT_URL, url); + curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); if (path) { FILE* file = fopen(path, "wb"); if (!file) |