summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-09-09 19:21:26 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-09-09 19:21:26 +0200
commit81997b327c908a618e7c0b4e0be6103eb71fb6de (patch)
tree1101ccc914be0773eca5e9bb619ba59d4c7fb3e5 /slstatus.c
parent545f1560e6b019a49f9df7f7f16e861b58ce51f4 (diff)
removed more unneeded comments
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/slstatus.c b/slstatus.c
index 3675660..73dc5a3 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -277,7 +277,6 @@ ip(const char *interface)
return smprintf(UNKNOWN_STR);
}
- /* get the ip address */
for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) {
if (ifa->ifa_addr == NULL)
continue;
@@ -294,7 +293,6 @@ ip(const char *interface)
}
}
- /* free the address */
freeifaddrs(ifaddr);
return smprintf(UNKNOWN_STR);