summaryrefslogtreecommitdiff
path: root/usr.sbin/popa3d/standalone.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:17:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:17:41 +0000
commit636449cbabbbe58abd14c9eadf0aaba18b37d332 (patch)
tree49fee6f905f8a665b78f913672b7bc4fe74a44b8 /usr.sbin/popa3d/standalone.c
parentae12dc667ae36d5a3118058556129fa9612c5247 (diff)
misuse of volatile, not even ansi C
Diffstat (limited to 'usr.sbin/popa3d/standalone.c')
-rw-r--r--usr.sbin/popa3d/standalone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/popa3d/standalone.c b/usr.sbin/popa3d/standalone.c
index f563e349932..17b71a1267a 100644
--- a/usr.sbin/popa3d/standalone.c
+++ b/usr.sbin/popa3d/standalone.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: standalone.c,v 1.3 2002/05/29 09:45:08 deraadt Exp $ */
+/* $OpenBSD: standalone.c,v 1.4 2002/09/06 19:17:40 deraadt Exp $ */
/*
* Standalone POP server: accepts connections, checks the anti-flood limits,
@@ -114,7 +114,7 @@ int main(void)
int true = 1;
int sock, new;
struct sockaddr_in addr;
- int addrlen;
+ socklen_t addrlen;
pid_t pid;
struct tms buf;
clock_t now;
@@ -237,7 +237,7 @@ int main(void)
default:
sessions[j].addr = addr.sin_addr;
- (va_int)sessions[j].pid = pid;
+ sessions[j].pid = pid;
sessions[j].start = now;
sessions[j].log = 0;
}