diff options
Diffstat (limited to 'src/lpm.c')
-rw-r--r-- | src/lpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -876,6 +876,7 @@ static int lpm_get(lua_State* L) { if (callback_function) { lua_pushvalue(L, callback_function); lua_pushinteger(L, total_downloaded); + lua_pushinteger(L, content_length); lua_call(L, 1, 0); } fwrite(buffer, sizeof(char), length, file); |