mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: optimize code
This commit is contained in:
parent
5176ba1933
commit
a8062252f4
@ -421,16 +421,10 @@ xxxws_curl_test_update()
|
|||||||
}
|
}
|
||||||
pktws_curl_test_update()
|
pktws_curl_test_update()
|
||||||
{
|
{
|
||||||
# $1 - test function
|
|
||||||
# $2 - domain
|
|
||||||
# $3,$4,$5, ... - nfqws/dvtws params
|
|
||||||
xxxws_curl_test_update pktws_curl_test "$@"
|
xxxws_curl_test_update pktws_curl_test "$@"
|
||||||
}
|
}
|
||||||
tpws_curl_test_update()
|
tpws_curl_test_update()
|
||||||
{
|
{
|
||||||
# $1 - test function
|
|
||||||
# $2 - domain
|
|
||||||
# $3,$4,$5, ... - nfqws/dvtws params
|
|
||||||
xxxws_curl_test_update tpws_curl_test "$@"
|
xxxws_curl_test_update tpws_curl_test "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user