Browse Source

removed more unneeded comments

master
Aaron Marcher 8 years ago
committed by Aaron Marcher (drkhsh)
parent
commit
81997b327c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      slstatus.c

+ 0
- 2
slstatus.c View File

@@ -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);


Loading…
Cancel
Save