Update mud and set default peer
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
2
mud
2
mud
Submodule mud updated: 368ab1b710...a6555c8ab1
@@ -358,12 +358,17 @@ main(int argc, char **argv)
|
|||||||
*p++ = 0;
|
*p++ = 0;
|
||||||
|
|
||||||
if (mud_peer(mud, name, gt.host, gt.port, 0)) {
|
if (mud_peer(mud, name, gt.host, gt.port, 0)) {
|
||||||
perror("mud_peer");
|
perror("mud_peer (bind)");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
name = p;
|
name = p;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (mud_peer(mud, NULL, gt.host, gt.port, 0)) {
|
||||||
|
perror("mud_peer");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user