NetworkPkg/DnsDxe: cosmetic fixups

add whitespace according to coding style.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
This commit is contained in:
wenyi,xie via groups.io
2020-12-04 15:05:03 +08:00
committed by mergify[bot]
parent 4e51155487
commit 4ad1bd63b2
5 changed files with 11 additions and 11 deletions

View File

@@ -799,7 +799,7 @@ UpdateDns4Cache (
Item->DnsCache.Timeout = DnsCacheEntry.Timeout;
return EFI_SUCCESS;
}else {
} else {
return EFI_ACCESS_DENIED;
}
}
@@ -897,7 +897,7 @@ UpdateDns6Cache (
Item->DnsCache.Timeout = DnsCacheEntry.Timeout;
return EFI_SUCCESS;
}else {
} else {
return EFI_ACCESS_DENIED;
}
}
@@ -1080,7 +1080,7 @@ IsValidDnsResponse (
NET_LIST_FOR_EACH (Entry, &TokensMap->Used) {
*Item = NET_LIST_USER_STRUCT (Entry, NET_MAP_ITEM, Link);
Packet = (NET_BUF *) ((*Item)->Value);
if (Packet == NULL){
if (Packet == NULL) {
continue;
} else {
@@ -2127,7 +2127,7 @@ DnsOnTimerRetransmit (
}
}
}
}else {
} else {
//
// Iterate through all the children of the DNS service instance. Time
// out the packet. If maximum retries reached, clean the Token up.