From e73743a97c74596c34ecb282504460e976458bbf Mon Sep 17 00:00:00 2001 From: Koennecke Mark Date: Mon, 11 May 2015 14:47:19 +0200 Subject: [PATCH] Another protocol ID which escaped --- conman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conman.c b/conman.c index ab685052..963a761d 100644 --- a/conman.c +++ b/conman.c @@ -1086,7 +1086,7 @@ int SCPureSockWrite(SConnection * self, char *buffer, int iOut) return 0; } - if(self->iProtocolID == 4) { + if(self->iProtocolID == PROTACT) { if (strlen(buffer) + 30 > 1024) { pPtr = (char *) malloc((strlen(buffer) + 30) * sizeof(char)); memset(pPtr, 0, strlen(buffer) + 20);