projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
545f156
)
removed more unneeded comments
author
Aaron Marcher
<info@nulltime.net>
Fri, 9 Sep 2016 17:21:26 +0000
(19:21 +0200)
committer
Aaron Marcher (drkhsh)
<info@nulltime.net>
Fri, 9 Sep 2016 17:21:26 +0000
(19:21 +0200)
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index 36756600c37ef765706004384cabbad946ca83f1..73dc5a3a74fd436b339b0473a3a1f2fee4db52a0 100644
(file)
--- 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);