Fixes issue #15. Forgot to close() a socket in wifi_essid()...
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:54:15 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -568,6 +568,8 @@ warn("Get ESSID ioctl failed for interface %s", wificard);
return smprintf(UNKNOWN_STR); } + close(sockfd); + if (strcmp((char *)wreq.u.essid.pointer, "") == 0) return smprintf(UNKNOWN_STR); else