lib util asn1: modernize debug calls
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 5 May 2020 21:11:55 +0000 (09:11 +1200)
committerGary Lockyer <gary@samba.org>
Wed, 6 May 2020 22:53:02 +0000 (22:53 +0000)
Replace DEBUG(0 with DBG_ERR(

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed May  6 22:53:02 UTC 2020 on sn-devel-184

lib/util/asn1.c

index dc3f43f33f4b50c8d259631f3fcc3e62e7772529..397f6b3c271b6c9aa0f2c767c0477975f6677306 100644 (file)
@@ -45,7 +45,7 @@ struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx, unsigned max_depth)
 {
        struct asn1_data *ret = talloc_zero(mem_ctx, struct asn1_data);
        if (ret == NULL) {
-               DEBUG(0,("asn1_init failed! out of memory\n"));
+               DBG_ERR("asn1_init failed! out of memory\n");
                return ret;
        }
        ret->max_depth = max_depth;