don't reply when connection breaks, noone to send to
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Mon, 25 Jul 1983 04:19:08 +0000 (20:19 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Mon, 25 Jul 1983 04:19:08 +0000 (20:19 -0800)
SCCS-vsn: libexec/ftpd/ftpd.c 4.25

usr/src/libexec/ftpd/ftpd.c

index 66bf40b..775faac 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)ftpd.c     4.24 (Berkeley) %G%";
+static char sccsid[] = "@(#)ftpd.c     4.25 (Berkeley) %G%";
 #endif
 
 /*
 #endif
 
 /*
@@ -204,7 +204,9 @@ reapchild()
 lostconn()
 {
 
 lostconn()
 {
 
-       fatal("Connection closed.");
+       if (debug)
+               fprintf(stderr, "Lost connection.\n");
+       dologout(-1);
 }
 
 pass(passwd)
 }
 
 pass(passwd)