Skip to content

Commit 8046514

Browse files
committed
Fix. init urlapi module on old versions
1 parent 9c0a6cc commit 8046514

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lcurlapi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,7 @@ void lcurl_url_initlib(lua_State *L, int nup){
194194
lua_pop(L, 1);
195195

196196
lcurl_util_set_const(L, lcurl_url_opt);
197+
#else
198+
lua_pop(L, nup);
197199
#endif
198200
}

0 commit comments

Comments
 (0)