summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-16 17:54:16 +0000
committerDave Hibberd <hibby@debian.org>2024-12-16 17:54:16 +0000
commita7d635fe2f04abcc3683f680f6a05ff9b11bf3aa (patch)
tree898cca0ff2fe5fe2cdee6e6ed6bf72f23cae463a /DRATS.c
parent93a10a982d3fcab0c469e2805b2034bba4e59a55 (diff)
New upstream version 6.0.24.54+repackupstream/6.0.24.54+repack
Diffstat (limited to 'DRATS.c')
-rw-r--r--DRATS.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DRATS.c b/DRATS.c
index 2615ce6..8c7e9e9 100644
--- a/DRATS.c
+++ b/DRATS.c
@@ -168,7 +168,7 @@ int AllocateDRATSStream(struct DRATSSession * Sess)
if (Stream == 255) return 0;
- if (memcmp(Sess->CallTo, "NODE", 6) == 0)
+ if (memcmp(Sess->CallTo, "NODE", 4) == 0)
{
// Just connect to command level on switch
}
@@ -563,7 +563,7 @@ void DRATSConnectionLost(struct ConnectionInfo * sockptr)
#define ZEXPORT __stdcall
#endif
-#include "zlib.h"
+#include <zlib.h>
int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen)