]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/util: let dump_data_diff() pass omit_zero_bytes to dump_data_diff_cb()
authorStefan Metzmacher <metze@samba.org>
Tue, 22 Apr 2025 13:18:09 +0000 (15:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Apr 2025 17:56:37 +0000 (17:56 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Apr 29 17:56:37 UTC 2025 on atb-devel-224

lib/util/util.c

index 75a17d81b2269e958a187e797855efff852b92d2..139b75b616a26e1dae75e1a2ed36a6b36ee4c46a 100644 (file)
@@ -698,7 +698,13 @@ _PUBLIC_ void dump_data_diff(int dbgc_class, int level,
        if (!DEBUGLVLC(dbgc_class, level)) {
                return;
        }
-       dump_data_diff_cb(buf1, len1, buf2, len2, true, debugadd_channel_cb, &dcl);
+       dump_data_diff_cb(buf1,
+                         len1,
+                         buf2,
+                         len2,
+                         omit_zero_bytes,
+                         debugadd_channel_cb,
+                         &dcl);
 }
 
 _PUBLIC_ void dump_data_file_diff(FILE *f,