Fix rare protocol parse error due to incorrect recv queue handling.
This commit is contained in:
@@ -403,7 +403,7 @@ static ssize_t ADC_client_recv(struct ADC_client* client)
|
||||
|
||||
while ((pos = memchr(start, '\n', remaining)))
|
||||
{
|
||||
lastPos = pos;
|
||||
lastPos = pos+1;
|
||||
pos[0] = '\0';
|
||||
|
||||
#ifdef DEBUG_SENDQ
|
||||
|
||||
Reference in New Issue
Block a user