libcli: make it easier to understand that a control was not correctly encoded
[kai/samba.git] / 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;
                        }