Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLI/CLIServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void Parser::cliServer()
close(i);
continue; // go to next socket
}
if (len < (int) sizeof(len)) // should never get here
if (nread < (int) sizeof(len)) // should never get here
{
char buf[BUFSIZ];
sprintf(buf, "Unable to read complete length, s.b. %d bytes, got %d bytes\n", sizeof(len), len);
Expand Down