summaryrefslogtreecommitdiff
path: root/DRATS.c
diff options
context:
space:
mode:
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)