summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-09 22:34:23 +0000
committerDave Hibberd <hibby@debian.org>2025-11-09 22:34:23 +0000
commit3c2c1cf9f880267b8006b87fbe84cd73a645be38 (patch)
tree8dd6026fe09e80dbc5f0ce12c67a08ce8df75ad4 /DRATS.c
parente569b24f9aea7eacce84d6caa646eacd452bea5f (diff)
parent367ab8fb01191ec54c91810b1896c41fdf7de911 (diff)
Update upstream source from tag 'upstream/6.0.25.9+repack'
Update to upstream version '6.0.25.9+repack' with Debian dir 15e3115d6f28e4fa9b1c62d4e3c93da6570dc7bc
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;