This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
slstatus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes issue
#15
. Forgot to close() a socket in wifi_essid()...
master
Aaron Marcher
8 years ago
committed by
Aaron Marcher (drkhsh)
parent
d19d4aa2e8
commit
75b1853313
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
slstatus.c
+ 2
- 0
slstatus.c
View File
@@ -568,6 +568,8 @@ wifi_essid(const char *wificard)
return smprintf(UNKNOWN_STR);
}
close(sockfd);
if (strcmp((char *)wreq.u.essid.pointer, "") == 0)
return smprintf(UNKNOWN_STR);
else
Write
Preview
Loading…
Cancel
Save