Commit 5c98e48f authored by dgaudet's avatar dgaudet
Browse files

fix buglet in example


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85007 13f79535-47bb-0310-9956-ffa450edef68
parent d1716bae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -475,7 +475,9 @@ function looks roughly like this:
	    select (s for reading, 2 second timeout);
	    if (error) break;
	    if (s is ready for reading) {
		read (s, junk_buffer, sizeof (junk_buffer));
		if (read (s, junk_buffer, sizeof (junk_buffer)) <= 0) {
		    break;
		}
		/* just toss away whatever is here */
	    }
	}