- undo a modification in doSockWrite (terminator only CR, not CR/LF)
This commit is contained in:
2
conman.c
2
conman.c
@ -634,7 +634,7 @@ static int doSockWrite(SConnection *self, char *buffer)
|
|||||||
iRet = NETWrite(self->pSock,buffer,strlen(buffer));
|
iRet = NETWrite(self->pSock,buffer,strlen(buffer));
|
||||||
if(!HasNL(buffer))
|
if(!HasNL(buffer))
|
||||||
{
|
{
|
||||||
iRet = NETWrite(self->pSock,"\r\n",strlen("\r\n"));
|
iRet = NETWrite(self->pSock,"\n",strlen("\n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!iRet)
|
if(!iRet)
|
||||||
|
Reference in New Issue
Block a user