libcli: make it easier to understand that a control was not correctly encoded
authorMatthieu Patou <mat@matws.net>
Tue, 15 May 2012 17:10:16 +0000 (10:10 -0700)
committerMatthieu Patou <mat@matws.net>
Sat, 19 May 2012 16:35:28 +0000 (09:35 -0700)
libcli/ldap/ldap_message.c

index 0f542302d483067dc96733c6eab6e00366c8e4c3..f640bf34ed837fdd8010ff0cf44a4c11a2bdb5df 100644 (file)
@@ -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;
                        }