artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
648911f
)
iobuf_queue() should return the number of bytes it queued on success, not 0
author
gilles
<gilles@openbsd.org>
Thu, 15 Oct 2015 08:29:41 +0000
(08:29 +0000)
committer
gilles
<gilles@openbsd.org>
Thu, 15 Oct 2015 08:29:41 +0000
(08:29 +0000)
ok eric@
usr.sbin/smtpd/iobuf.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/iobuf.c
b/usr.sbin/smtpd/iobuf.c
index
31ce297
..
3daf190
100644
(file)
--- 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