(main) [HAVE_SOCKETS]: Call rewind before writing to infile.
This commit is contained in:
parent
c71437cfe9
commit
cbd1aee2b1
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue