Output the full line, not including the "\r\n"
while ((where = find_network_newline(buf, inbuf)) > 0) {
				// where is now the index into buf immediately after 
				// the first network newline
                // Step 3: Okay, we have a full line.
                // Output the full line, not including the "\r\n",
                // using print statement below.
                // Be sure to put a '\0' in the correct place first;
                // otherwise you'll get junk in the output.

                buf[where-1] = '\0';

                printf("Next message: %s\n", buf);