Commit cbd1aee2 authored by Miles Bader's avatar Miles Bader
Browse files

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

parent c71437cf
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment