summaryrefslogtreecommitdiff
path: root/libexec/comsat
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-09-16 10:53:04 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-09-16 10:53:04 +0000
commit1917e788ad1b36e3ff671aecc8c24ab3d7520b61 (patch)
treea9dc91b0fe99d871a00990325de9a35ebbb65967 /libexec/comsat
parentc40004d58e6620664f294a62bc7dec6980278da2 (diff)
more signal flag races; ok miod@
Diffstat (limited to 'libexec/comsat')
-rw-r--r--libexec/comsat/comsat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index 31e90690973..a8223f3d308 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $ */
+/* $OpenBSD: comsat.c,v 1.33 2004/09/16 10:53:02 otto Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: comsat.c,v 1.33 2004/09/16 10:53:02 otto Exp $";
#endif /* not lint */
#include <sys/limits.h>
@@ -129,8 +129,8 @@ main(int argc, char *argv[])
for (;;) {
if (wantreadutmp) {
- doreadutmp();
wantreadutmp = 0;
+ doreadutmp();
}
cc = recv(0, msgbuf, sizeof(msgbuf) - 1, 0);