Skip to content
Snippets Groups Projects
Commit 53764f6b authored by deuce's avatar deuce
Browse files

If zero bytes were read (such as a CTRL-C after avail was set), continue

rather than send the zero bytes.
parent 0d60c091
Branches
Tags
No related merge requests found
......@@ -2138,6 +2138,8 @@ void output_thread(void* arg)
avail=mss;
buftop=RingBufRead(&sbbs->outbuf, buf, avail);
bufbot=0;
if (buftop == 0)
continue;
}
/* Check socket for writability (using select) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment