summaryrefslogtreecommitdiff
path: root/lib/std/listen+posixy.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/listen+posixy.myr')
-rw-r--r--lib/std/listen+posixy.myr5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/std/listen+posixy.myr b/lib/std/listen+posixy.myr
index 49d1054..9214c66 100644
--- a/lib/std/listen+posixy.myr
+++ b/lib/std/listen+posixy.myr
@@ -10,10 +10,11 @@ use "option"
use "resolve"
use "result"
use "slcp"
-use "sleq"
use "strfind"
use "striter"
use "syswrap"
+use "traits"
+use "hashfuncs"
use "utf"
pkg std =
@@ -62,7 +63,7 @@ const announcesock = {proto, str
| `None: -> `Err("invalid port")
;;
- if std.sleq(hoststr, "*")
+ if eq(hoststr, "*")
sa6=[.fam=sys.Afinet6, .port=hosttonet(port)]
sa = (&sa6 : sys.sockaddr#)
sz = sizeof(sys.sockaddr_in6)