diff options
author | rob <rob@cvs.openbsd.org> | 2018-08-12 22:04:10 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2018-08-12 22:04:10 +0000 |
commit | ed4ba547919184d93efa4623461e0a5bf3056aa3 (patch) | |
tree | 24df9bd3d72f0c0605ded845fe89a82305a32fdb /usr.sbin/ypldap/ber.c | |
parent | ec9b6ecff22d514bf78f1ed54e8bd8f9c48e9852 (diff) |
Change ber_write_elements() to return ssize_t instead of int.
ok claudio@
Diffstat (limited to 'usr.sbin/ypldap/ber.c')
-rw-r--r-- | usr.sbin/ypldap/ber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/ber.c b/usr.sbin/ypldap/ber.c index e575b4930e6..58aff26acf9 100644 --- a/usr.sbin/ypldap/ber.c +++ b/usr.sbin/ypldap/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.30 2018/08/03 01:51:28 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.31 2018/08/12 22:04:09 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -802,7 +802,7 @@ ber_get_writebuf(struct ber *b, void **buf) * >=0 number of bytes written * -1 on failure and sets errno */ -int +ssize_t ber_write_elements(struct ber *ber, struct ber_element *root) { size_t len; |