Commit b12e2df8 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

mac: Polish

parent a10584cd
......@@ -151,8 +151,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