mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
add a return
This commit is contained in:
@@ -87,7 +87,10 @@ void DNSRoutine::run_local_path(const std::string& path, DNSOutput *out)
|
||||
void DNSRoutine::run(const DNSInput *in, DNSOutput *out)
|
||||
{
|
||||
if (!in->host_.empty() && in->host_[0] == '/')
|
||||
{
|
||||
run_local_path(in->host_, out);
|
||||
return;
|
||||
}
|
||||
|
||||
struct addrinfo hints = {
|
||||
#ifdef AI_ADDRCONFIG
|
||||
|
||||
Reference in New Issue
Block a user