summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypldap/aldap.c
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2008-09-30 17:31:04 +0000
committerpyr <pyr@openbsd.org>2008-09-30 17:31:04 +0000
commitf021e55645917187a2dab208221ef0bdf4e464b5 (patch)
treef7732b868711274b0564a3766d3e25a5258088cc /usr.sbin/ypldap/aldap.c
parentadd missing copyright. (diff)
downloadwireguard-openbsd-f021e55645917187a2dab208221ef0bdf4e464b5.tar.xz
wireguard-openbsd-f021e55645917187a2dab208221ef0bdf4e464b5.zip
fix ugly comments.
Diffstat (limited to 'usr.sbin/ypldap/aldap.c')
-rw-r--r--usr.sbin/ypldap/aldap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ypldap/aldap.c b/usr.sbin/ypldap/aldap.c
index 6e3f3750073..e78c693ae94 100644
--- a/usr.sbin/ypldap/aldap.c
+++ b/usr.sbin/ypldap/aldap.c
@@ -1,5 +1,5 @@
-/* $Id: aldap.c,v 1.1 2008/09/30 16:24:16 aschrijver Exp $ */
-/* $OpenBSD: aldap.c,v 1.1 2008/09/30 16:24:16 aschrijver Exp $ */
+/* $Id: aldap.c,v 1.2 2008/09/30 17:31:04 pyr Exp $ */
+/* $OpenBSD: aldap.c,v 1.2 2008/09/30 17:31:04 pyr Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
@@ -24,7 +24,9 @@
#include "aldap.h"
-//#define DEBUG
+#if 0
+#define DEBUG
+#endif
#define VERSION 3
static struct ber_element *ldap_parse_search_filter(struct ber_element*, char *);
@@ -39,7 +41,6 @@ void ldap_debug_elements(struct ber_element *);
#ifdef DEBUG
#define DPRINTF(x...) printf(x)
#define LDAP_DEBUG(x, y) do { fprintf(stderr, "*** " x "\n"); ldap_debug_elements(y); } while (0)
-//#define LDAP_DEBUG(x, y) do { printf("*** " x "\n"); } while (0)
#else
#define DPRINTF(x...) do { } while (0)
#define LDAP_DEBUG(x, y) do { } while (0)