@@ -83,9 +83,6 @@ int lcurl_easy_create(lua_State *L, int error_mode){
8383 p -> multi = NULL ;
8484#if LCURL_CURL_VER_GE (7 ,56 ,0 )
8585 p -> mime = NULL ;
86- #endif
87- #if LCURL_CURL_VER_GE (7 ,63 ,0 )
88- p -> url = NULL ;
8986#endif
9087 p -> storage = lcurl_storage_init (L );
9188 p -> wr .cb_ref = p -> wr .ud_ref = LUA_NOREF ;
@@ -143,10 +140,6 @@ static int lcurl_easy_cleanup_storage(lua_State *L, lcurl_easy_t *p){
143140 p -> mime = NULL ;
144141#endif
145142
146- #if LCURL_CURL_VER_GE (7 ,63 ,0 )
147- p -> url = NULL ;
148- #endif
149-
150143 luaL_unref (L , LCURL_LUA_REGISTRY , p -> wr .cb_ref );
151144 luaL_unref (L , LCURL_LUA_REGISTRY , p -> wr .ud_ref );
152145 luaL_unref (L , LCURL_LUA_REGISTRY , p -> rd .cb_ref );
@@ -622,8 +615,6 @@ static int lcurl_easy_set_CURLU(lua_State *L) {
622615
623616 lcurl_storage_preserve_iv (L , p -> storage , CURLOPT_CURLU , 2 );
624617
625- p -> url = url ;
626-
627618 lua_settop (L , 1 );
628619 return 1 ;
629620}
@@ -1031,8 +1022,6 @@ static int lcurl_easy_unset_CURLU(lua_State *L) {
10311022
10321023 lcurl_storage_remove_i (L , p -> storage , CURLOPT_CURLU );
10331024
1034- p -> url = NULL ;
1035-
10361025 lua_settop (L , 1 );
10371026 return 1 ;
10381027}
0 commit comments