diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:42:35 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:42:35 +0000 |
| commit | 9aad97786d945165530dcac2216c5b75e4632f82 (patch) | |
| tree | 96c8400266ae38a742497c4e4a06ab34ee51839c /DRATS.c | |
| parent | 453f162d225b192d5da5a843633208f0307e6afc (diff) | |
6.0.25.9
Diffstat (limited to 'DRATS.c')
| -rw-r--r-- | DRATS.c | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -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;
|
