diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index 1306a2b2f7f..05449bf6105 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c | |||
| @@ -228,6 +228,7 @@ main () | |||
| 228 | 228 | ||
| 229 | /* Transfer text from Emacs to the client, up to a newline. */ | 229 | /* Transfer text from Emacs to the client, up to a newline. */ |
| 230 | infile = openfiles[infd]; | 230 | infile = openfiles[infd]; |
| 231 | rewind (infile); | ||
| 231 | while (1) | 232 | while (1) |
| 232 | { | 233 | { |
| 233 | if (fgets (string, BUFSIZ, stdin) == 0) | 234 | if (fgets (string, BUFSIZ, stdin) == 0) |