aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-16 21:10:21 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-16 21:10:21 -0500
commit21eae5da72f3a96482ff479841b214a01ede3652 (patch)
tree111861b1e848b7a350d6d7be34ff763cbdc7cdb3 /src/lpm.c
parent14578e4d072e780678a7e98b14a13372809e6022 (diff)
downloadlite-xl-plugin-manager-21eae5da72f3a96482ff479841b214a01ede3652.tar.gz
lite-xl-plugin-manager-21eae5da72f3a96482ff479841b214a01ede3652.zip
Fixed some issues with naming, and calling progression function.v0.9992
Diffstat (limited to 'src/lpm.c')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index b6df2c9..14d2724 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -877,7 +877,7 @@ static int lpm_get(lua_State* L) {
lua_pushvalue(L, callback_function);
lua_pushinteger(L, total_downloaded);
lua_pushinteger(L, content_length);
- lua_call(L, 1, 0);
+ lua_call(L, 2, 0);
}
fwrite(buffer, sizeof(char), length, file);
remaining -= length;