summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpcmd.y
diff options
context:
space:
mode:
authorDan Harnett <danh@cvs.openbsd.org>2002-07-02 18:09:55 +0000
committerDan Harnett <danh@cvs.openbsd.org>2002-07-02 18:09:55 +0000
commit08164aa7b48cddaba444394214fd10fa49bf5cd9 (patch)
tree12d8c5dedf29274c3571c63db0c916ddb4d56545 /libexec/ftpd/ftpcmd.y
parent3aca8249d13a32de42bfae96a88149bea16f20e0 (diff)
* use lostconn() as the SIGALRM handler in receive_data() as originally
done by downsj@ in revision 1.54. * some -Wall cleanup - only declare check_host() if TCPWRAPPERS is defined. - use socklen_t where appropriate instead of int (pointer signedness warnings). - {u_}char * pointer signedness warnings. ok millert@
Diffstat (limited to 'libexec/ftpd/ftpcmd.y')
-rw-r--r--libexec/ftpd/ftpcmd.y7
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 690096505c7..32e4c5f08a7 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpcmd.y,v 1.40 2002/06/17 19:33:37 danh Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.41 2002/07/02 18:09:53 danh Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
@@ -45,9 +45,10 @@
#ifndef lint
#if 0
-static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
+static const char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
#else
-static char rcsid[] = "$OpenBSD: ftpcmd.y,v 1.40 2002/06/17 19:33:37 danh Exp $";
+static const char rcsid[] =
+ "$OpenBSD: ftpcmd.y,v 1.41 2002/07/02 18:09:53 danh Exp $";
#endif
#endif /* not lint */