Fix rare protocol parse error due to incorrect recv queue handling.

此提交包含在:
Jan Vidar Krey
2012-10-02 23:01:57 +02:00
父節點 20a847e1b4
當前提交 61073bd304
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@@ -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