summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-22 15:09:21 +0000
committerDave Hibberd <hibby@debian.org>2025-11-22 15:09:21 +0000
commit52e35f45b4cfefc21707b42883dd1afa142ac7d4 (patch)
tree0a9b58677b2f8dad558593277a547b17c38af976 /DRATS.c
parent453f162d225b192d5da5a843633208f0307e6afc (diff)
New upstream version 6.0.25.12+repack
Diffstat (limited to 'DRATS.c')
-rw-r--r--DRATS.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/DRATS.c b/DRATS.c
index c7b6b83..7fd85cf 100644
--- a/DRATS.c
+++ b/DRATS.c
@@ -568,18 +568,19 @@ void DRATSConnectionLost(struct ConnectionInfo * sockptr)
int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen)
{
- int ret;
- z_stream strm;
-
- strm.zalloc = Z_NULL;
- strm.zfree = Z_NULL;
- strm.opaque = Z_NULL;
- strm.avail_in = 0;
- strm.next_in = Z_NULL;
-
- ret = inflateInit(&strm);
- if (ret != Z_OK)
- return ret;
+ int ret;
+ z_stream strm;
+
+ strm.zalloc = Z_NULL;
+ strm.zfree = Z_NULL;
+ strm.opaque = Z_NULL;
+ strm.avail_in = 0;
+ strm.next_in = Z_NULL;
+
+ ret = inflateInit(&strm);
+
+ if (ret != Z_OK)
+ return ret;
strm.avail_in = Len;
strm.next_in = source;