fix: fixes a bug on macOS with non printable characters in ESSID (ref #61)

This commit is contained in:
evilsocket 2018-02-24 18:33:34 +01:00
commit a5049f4ff2

View file

@ -21,7 +21,7 @@ func cleanESSID(essid string) string {
if strconv.IsPrint(c) { if strconv.IsPrint(c) {
res += string(c) res += string(c)
} else { } else {
res += fmt.Sprintf("{0x%02x}", c) break
} }
} }
return res return res