summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
committerDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
commit367ab8fb01191ec54c91810b1896c41fdf7de911 (patch)
tree8f9ac2b818ebb923b47fce00b28eb127556d96fb /DRATS.c
parent7c796758d1b65d4d7585c90ba71b1fb339a4d283 (diff)
New upstream version 6.0.25.9+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;