summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}