aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-11-07 13:18:50 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-11-07 13:18:50 +0000
commit6d0727f4602b7298dec1c5b75890b17d2e1fc6fb (patch)
treea39dbe40e1507cfc722d9db035b26af66721473e /usr.sbin/lpr/common_source
parenteef2db22e182b92546731602340b9e4aacb35e96 (diff)
downloadsrc-6d0727f4602b7298dec1c5b75890b17d2e1fc6fb.tar.gz
src-6d0727f4602b7298dec1c5b75890b17d2e1fc6fb.zip
Argl! Who's got the pointy hat these days? Hand it over to me, ASAP!
When setting an alarm that didn't trigger, i gotta clear it again before going on. Hmpf!
Notes
Notes: svn path=/head/; revision=31020
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r--usr.sbin/lpr/common_source/displayq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/lpr/common_source/displayq.c b/usr.sbin/lpr/common_source/displayq.c
index 286fd82827c0..01d91a6f629b 100644
--- a/usr.sbin/lpr/common_source/displayq.c
+++ b/usr.sbin/lpr/common_source/displayq.c
@@ -242,6 +242,7 @@ displayq(format)
savealrm = signal(SIGALRM, alarmhandler);
alarm(CT);
fd = getport(RM, 0);
+ alarm(0);
(void)signal(SIGALRM, savealrm);
if (fd < 0) {
if (from != host)