summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/imsg.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-03-23 10:46:28 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-03-23 10:46:28 +0000
commit1d272ae56707d296c2067306f8c048e54f4e55b0 (patch)
tree32f9c969503285069e977743f9b44c0ec4815f40 /usr.sbin/ospfd/imsg.c
parent6b2877c9b5003ebef4a034c8c3899d178dda1d1c (diff)
ssize_t -> size_t, from ntpd, there from Alexander von Gernler
Diffstat (limited to 'usr.sbin/ospfd/imsg.c')
-rw-r--r--usr.sbin/ospfd/imsg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/imsg.c b/usr.sbin/ospfd/imsg.c
index e9730b2747d..4759ca7a7d9 100644
--- a/usr.sbin/ospfd/imsg.c
+++ b/usr.sbin/ospfd/imsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.c,v 1.2 2005/03/09 14:14:01 henning Exp $ */
+/* $OpenBSD: imsg.c,v 1.3 2005/03/23 10:46:26 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -89,8 +89,7 @@ imsg_read(struct imsgbuf *ibuf)
int
imsg_get(struct imsgbuf *ibuf, struct imsg *imsg)
{
- ssize_t datalen = 0;
- size_t av, left;
+ size_t av, left, datalen;
av = ibuf->r.wpos;