(main) [HAVE_SOCKETS]: Call rewind before writing to infile.

This commit is contained in:
Miles Bader 1996-07-03 02:05:29 +00:00
parent c71437cfe9
commit cbd1aee2b1

View file

@ -228,6 +228,7 @@ main ()
/* Transfer text from Emacs to the client, up to a newline. */
infile = openfiles[infd];
rewind (infile);
while (1)
{
if (fgets (string, BUFSIZ, stdin) == 0)