Browse Source

removed _inithttp according to Neilpang's comment

pull/1053/head
hiska 8 years ago
committed by GitHub
parent
commit
51fc1cc279
  1. 2
      dnsapi/dns_dnsever.sh

2
dnsapi/dns_dnsever.sh

@ -69,8 +69,6 @@ dnsever_txt() {
fulldomain="$4" fulldomain="$4"
txt="$5" txt="$5"
_inithttp
response=$(_post "login_id=$login_id&login_password=$login_password" "https://kr.dnsever.com/index.html") response=$(_post "login_id=$login_id&login_password=$login_password" "https://kr.dnsever.com/index.html")
if [ $? != 0 ] || [ -z "$response" ]; then if [ $? != 0 ] || [ -z "$response" ]; then
_err "dnsever_txt:$action ERROR login failed. Please check https://kr.dnsever.com/index.html with login_id=$login_id login_password=$login_password" _err "dnsever_txt:$action ERROR login failed. Please check https://kr.dnsever.com/index.html with login_id=$login_id login_password=$login_password"

Loading…
Cancel
Save