mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
12 lines
266 B
Diff
12 lines
266 B
Diff
--- a/capture/ws80211_utils.c
|
|
+++ b/capture/ws80211_utils.c
|
|
@@ -660,7 +660,7 @@
|
|
|
|
/* Update names of user created monitor interfaces */
|
|
while(fgets(line, sizeof(line), fh)) {
|
|
- t = index(line, ':');
|
|
+ t = strchr(line, ':');
|
|
if (!t)
|
|
continue;
|
|
*t = 0;
|