summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-11 21:42:35 +0000
committerDave Hibberd <hibby@debian.org>2025-11-11 21:42:35 +0000
commit9aad97786d945165530dcac2216c5b75e4632f82 (patch)
tree96c8400266ae38a742497c4e4a06ab34ee51839c /DRATS.c
parent453f162d225b192d5da5a843633208f0307e6afc (diff)
6.0.25.9
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;