1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-26 17:17:07 +00:00
termux-packages/x11-packages/wireshark-qt/no-legacy-index.patch
2022-10-17 18:28:40 +09:00

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;