summaryrefslogtreecommitdiffstats
path: root/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c')
-rw-r--r--AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
index 2e626396ca..63299a1f9d 100644
--- a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
+++ b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
@@ -59,10 +59,10 @@ main (
&RemoteAddress[1],
&RemoteAddress[2],
&RemoteAddress[3]))
- || ( 255 < RemoteAddress [0])
- || ( 255 < RemoteAddress [1])
- || ( 255 < RemoteAddress [2])
- || ( 255 < RemoteAddress [3])) {
+ || ( 255 < RemoteAddress[0])
+ || ( 255 < RemoteAddress[1])
+ || ( 255 < RemoteAddress[2])
+ || ( 255 < RemoteAddress[3])) {
Print ( L"%a <IPv4 Address>\r\n", Argv[0]);
}
else {
@@ -78,7 +78,7 @@ main (
Print ( L"ERROR - host not found, errno: %d\r\n", errno );
}
else {
- pIpAddress = (UINT8 *)pHost->h_addr_list [ 0 ];
+ pIpAddress = (UINT8 *)pHost->h_addr_list[ 0 ];
Print ( L"%d.%d.%d.%d, %a\r\n",
pIpAddress[0],
pIpAddress[1],