aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authori404788 <50617709+i404788@users.noreply.github.com>2019-11-20 23:24:16 +0000
committerGitHub <noreply@github.com>2019-11-20 23:24:16 +0000
commit7730e6c1e2086db4c73ecebaa140ca45c1383a9f (patch)
treea720ffd57c1350b6ba97c5cfd52f532217e4919f
parent477be1d1551fdd4925c95404b5af025ed9f30081 (diff)
Coding style + weird spacing
-rw-r--r--src/libui_sdl/LAN_PCap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libui_sdl/LAN_PCap.cpp b/src/libui_sdl/LAN_PCap.cpp
index 75a2e3c..312af0e 100644
--- a/src/libui_sdl/LAN_PCap.cpp
+++ b/src/libui_sdl/LAN_PCap.cpp
@@ -263,10 +263,11 @@ bool Init(bool open_adapter)
continue;
}
- if (!curaddr->ifa_addr){
+ if (!curaddr->ifa_addr)
+ {
printf("Device (%s) does not have an address :/\n", curaddr->ifa_name);
curaddr = curaddr->ifa_next;
- continue;
+ continue;
}
u16 af = curaddr->ifa_addr->sa_family;