diff src/dmzlib.c @ 2513:c72196d3fdbe

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 May 2020 08:16:22 +0300
parents 8d8197b3d052
children 9807ae37ad69
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