summaryrefslogtreecommitdiff
path: root/libcli/ldap
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-05-15 10:10:16 -0700
committerMatthieu Patou <mat@matws.net>2012-05-19 09:35:28 -0700
commita9b4d7e7dea9ada8280806f416ef74343059b729 (patch)
tree8e0221b259ef831456a00e56ec7a74827daf8abb /libcli/ldap
parent32cbf20e65578b3d5e71d571d81d561f33a887e2 (diff)
downloadsamba-a9b4d7e7dea9ada8280806f416ef74343059b729.tar.gz
samba-a9b4d7e7dea9ada8280806f416ef74343059b729.tar.bz2
samba-a9b4d7e7dea9ada8280806f416ef74343059b729.zip
libcli: make it easier to understand that a control was not correctly encoded
Diffstat (limited to 'libcli/ldap')
-rw-r--r--libcli/ldap/ldap_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/ldap/ldap_message.c b/libcli/ldap/ldap_message.c
index 0f542302d4..f640bf34ed 100644
--- a/libcli/ldap/ldap_message.c
+++ b/libcli/ldap/ldap_message.c
@@ -676,7 +676,7 @@ _PUBLIC_ bool ldap_encode(struct ldap_message *msg,
if (!ldap_encode_control(mem_ctx, data,
control_handlers,
msg->controls[i])) {
- DEBUG(1,("Unable to encode control %s\n",
+ DEBUG(0,("Unable to encode control %s\n",
msg->controls[i]->oid));
return false;
}