mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
clang-format: Set penalty for breaking after assignment operator
This commit is contained in:
parent
4423574d26
commit
9af6b2f48d
54 changed files with 255 additions and 247 deletions
|
@ -1167,16 +1167,16 @@ void DNS_Mgr::IssueAsyncRequests()
|
|||
if ( req->IsAddrReq() )
|
||||
success = DoRequest(nb_dns, new DNS_Mgr_Request(req->host));
|
||||
else if ( req->is_txt )
|
||||
success =
|
||||
DoRequest(nb_dns, new DNS_Mgr_Request(req->name.c_str(), AF_INET, req->is_txt));
|
||||
success = DoRequest(nb_dns,
|
||||
new DNS_Mgr_Request(req->name.c_str(), AF_INET, req->is_txt));
|
||||
else
|
||||
{
|
||||
// If only one request type succeeds, don't consider it a failure.
|
||||
success =
|
||||
DoRequest(nb_dns, new DNS_Mgr_Request(req->name.c_str(), AF_INET, req->is_txt));
|
||||
success =
|
||||
DoRequest(nb_dns, new DNS_Mgr_Request(req->name.c_str(), AF_INET6, req->is_txt)) ||
|
||||
success;
|
||||
success = DoRequest(nb_dns,
|
||||
new DNS_Mgr_Request(req->name.c_str(), AF_INET, req->is_txt));
|
||||
success = DoRequest(nb_dns,
|
||||
new DNS_Mgr_Request(req->name.c_str(), AF_INET6, req->is_txt)) ||
|
||||
success;
|
||||
}
|
||||
|
||||
if ( ! success )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue