changeset 2513:c72196d3fdbe

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 May 2020 08:16:22 +0300
parents 14ed64742010
children bf1d671fc999
files src/dmzlib.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmzlib.c	Thu Apr 30 10:34:55 2020 +0300
+++ b/src/dmzlib.c	Sat May 02 08:16:22 2020 +0300
@@ -542,9 +542,9 @@
         if (ctx->outBuffer + len > ctx->outBufferEnd &&
             (ret = dmZLibExpand(ctx, ctx->outBuffer, len)) != DMERR_OK)
         {
-            return dmErrorDBG(DMERR_DATA_ERROR,
-                "Could not expand output buffer: %d, %s\n",
-                ret, dmErrorStr(ret));
+            return dmErrorDBG(ret,
+                "Could not expand output buffer: %s\n",
+                dmErrorStr(ret));
         }
 
         // Copy uncompressed data