diff options
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/ioev.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/ioev.c b/usr.sbin/smtpd/ioev.c index a8b6c7de327..2e9521a06f2 100644 --- a/usr.sbin/smtpd/ioev.c +++ b/usr.sbin/smtpd/ioev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioev.c,v 1.2 2012/01/30 10:02:55 chl Exp $ */ +/* $OpenBSD: ioev.c,v 1.3 2012/05/25 13:52:33 chl Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -511,14 +511,11 @@ void io_dispatch(int fd, short ev, void *humppa) { struct io *io = humppa; - char buf[64]; size_t w; ssize_t n; io_frame_enter("io_dispatch", io, ev); - buf[0] = 0; - if (ev == EV_TIMEOUT) { io_callback(io, IO_TIMEOUT); goto leave; |