diff options
author | rob <rob@openbsd.org> | 2018-07-31 11:37:18 +0000 |
---|---|---|
committer | rob <rob@openbsd.org> | 2018-07-31 11:37:18 +0000 |
commit | 79c62c2af6f7512b4cb6ca307843f8dbb786f49c (patch) | |
tree | 75befd80088f02515540eb2e4fcfe3a68e48f0a3 /usr.sbin/ldapd | |
parent | Make ber type and encoding a unsigned int instead of unsigned long. (diff) | |
download | wireguard-openbsd-79c62c2af6f7512b4cb6ca307843f8dbb786f49c.tar.xz wireguard-openbsd-79c62c2af6f7512b4cb6ca307843f8dbb786f49c.zip |
Fix some debugging output now that ber type and encoding are unsigned int.
ok claudio@
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r-- | usr.sbin/ldapd/ber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldapd/ber.c b/usr.sbin/ldapd/ber.c index 47a8cf891b6..e30f882aadd 100644 --- a/usr.sbin/ldapd/ber.c +++ b/usr.sbin/ldapd/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.25 2018/07/31 11:01:00 claudio Exp $ */ +/* $OpenBSD: ber.c,v 1.26 2018/07/31 11:37:18 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -1100,7 +1100,7 @@ ber_read_element(struct ber *ber, struct ber_element *elm) if ((r = get_id(ber, &type, &class, &cstruct)) == -1) return -1; - DPRINTF("ber read got class %d type %lu, %s\n", + DPRINTF("ber read got class %d type %u, %s\n", class, type, cstruct ? "constructed" : "primitive"); totlen += r; if ((r = get_len(ber, &len)) == -1) |