(tn): moved the printing of `trying...' to the loop

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-04-04 13:00:05 +00:00
parent 8afca2bb57
commit bde7e0c1d8

View File

@@ -2219,6 +2219,7 @@ tn(int argc, char **argv)
}
telnetport = 1;
}
do {
switch(family) {
case AF_INET:
sin.sin_port = port;
@@ -2246,7 +2247,7 @@ tn(int argc, char **argv)
abort();
}
do {
net = socket(family, SOCK_STREAM, 0);
setuid(getuid());
if (net < 0) {