Commit b789480f authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

mac: Polish

parent d4f44004
......@@ -152,8 +152,7 @@ mk_listen_sock(const struct listen_arg *la, const struct suckaddr *sa)
ls->sock = -1;
ls->addr = VSA_Clone(sa);
AN(ls->addr);
ls->endpoint = strdup(la->endpoint);
AN(ls->endpoint);
REPLACE(ls->endpoint, la->endpoint);
ls->name = la->name;
ls->transport = la->transport;
ls->perms = la->perms;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment