Explorar o código

http_async_client: $http_req returns $null when read

Camille Oudot %!s(int64=9) %!d(string=hai) anos
pai
achega
8ff0241345
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/http_async_client/http_async_client_mod.c

+ 1 - 1
modules/http_async_client/http_async_client_mod.c

@@ -206,7 +206,7 @@ static pv_export_t pvs[] = {
 		PVT_OTHER, ah_get_err, 0,
 		0, 0, 0, 0},
 	{STR_STATIC_INIT("http_req"),
-		PVT_OTHER, 0, ah_set_req,
+		PVT_OTHER, pv_get_null, ah_set_req,
 		ah_parse_req_name, 0, 0, 0},
 	{ {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
 };