summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-09-30 17:31:05 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-09-30 17:31:05 +0000
commit25307113a51d6b808e4c5ec5d36d74d65bdcfaf8 (patch)
tree94641bcf8ac28de88899579545d0acb2cf243e43
parentbab1cce5ac03d2e9f11830081ea899be15c81a09 (diff)
fix ugly comments.
-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)