blockcheck: optimize code

This commit is contained in:
bol-van 2021-12-23 19:13:49 +03:00
parent 5176ba1933
commit a8062252f4

View File

@ -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 "$@"
} }