summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/iobuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/iobuf.c b/usr.sbin/smtpd/iobuf.c
index 31ce297b998..3daf19055a4 100644
--- a/usr.sbin/smtpd/iobuf.c
+++ b/usr.sbin/smtpd/iobuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iobuf.c,v 1.6 2015/09/03 06:26:17 jsg Exp $ */
+/* $OpenBSD: iobuf.c,v 1.7 2015/10/15 08:29:41 gilles Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -287,7 +287,7 @@ iobuf_queue(struct iobuf *io, const void *data, size_t len)
memmove(buf, data, len);
- return (0);
+ return (len);
}
int