From fd33ae363170971b59954104d008c217f63dd50e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 7 Feb 2018 11:11:30 +0000 Subject: [PATCH] Fixed #328 --- cram/wrappers.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cram/wrappers.d b/cram/wrappers.d index 8d9d7f39..e0beb3e6 100644 --- a/cram/wrappers.d +++ b/cram/wrappers.d @@ -51,7 +51,7 @@ struct RcPtr(T, alias Free) { this(this) { static if (is(T == cram_slice)) { - debug writeln("COPIED #", data.payload_id + 1); + debug stderr.writeln("COPIED #", data.payload_id + 1); } } @@ -159,7 +159,7 @@ struct CramContainerRange { auto err_msg = "Failed to read container header"; while (true) { // read container header - debug writeln("cram_read_container"); + debug stderr.writeln("cram_read_container"); auto ptr = nullChecked!cram_read_container(err_msg, _fd); if (ptr is null) { empty = true;