diff --git a/src/serialization.cpp b/src/serialization.cpp index ff7ca15..f150d45 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -27,28 +27,28 @@ with this program; if not, write to the Free Software Foundation, Inc., /* report a zlib or i/o error */ void zerr(int ret) { - fputs("zerr: ", stderr); + dstream<<"zerr: "; switch (ret) { case Z_ERRNO: if (ferror(stdin)) - fputs("error reading stdin\n", stderr); + dstream<<"error reading stdin"<