Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chsbuffer committed Feb 20, 2021
1 parent 750d3d6 commit a2d1d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Netch/Controllers/DNSController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void Start()
aiodns_dial((int) NameList.TYPE_ODNS, Encoding.UTF8.GetBytes($"{Global.Settings.AioDNS.OtherDNS}:53"));
aiodns_dial((int) NameList.TYPE_METH, Encoding.UTF8.GetBytes(Global.Settings.AioDNS.Protocol));

if (aiodns_init())
if (!aiodns_init())
throw new Exception("AioDNS start failed");
}

Expand Down

0 comments on commit a2d1d85

Please sign in to comment.