summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-17 23:02:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-17 23:02:54 +0000
commitfd252373a7599ebb2e5f859f9977306acc2f869d (patch)
tree4992bf5c7c3f07bd9a3c797e67bb24f0f26bf65d
parentbbe59f21e87f4cfe481e1fdbe7c8362fb6aadb05 (diff)
Add missing sigaction() call from last commit
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 6f9c189ad44..3fbdd8407a2 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.110 2001/12/07 18:45:32 mpech Exp $ */
+/* $OpenBSD: ftpd.c,v 1.111 2001/12/17 23:02:53 millert Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -73,7 +73,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: ftpd.c,v 1.110 2001/12/07 18:45:32 mpech Exp $";
+static char rcsid[] = "$OpenBSD: ftpd.c,v 1.111 2001/12/17 23:02:53 millert Exp $";
#endif
#endif /* not lint */
@@ -498,6 +498,7 @@ main(argc, argv, envp)
sa.sa_handler = sigurg;
sa.sa_flags = 0; /* don't restart syscalls for SIGURG */
+ (void) sigaction(SIGURG, &sa, NULL);
addrlen = sizeof(ctrl_addr);
if (getsockname(0, (struct sockaddr *)&ctrl_addr, &addrlen) < 0) {