diff options
| author | Karl Heuer | 1996-02-21 20:53:01 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-02-21 20:53:01 +0000 |
| commit | dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5 (patch) | |
| tree | aa12dac38c0b2df2ece0b00c26a494e16979f8f3 /lib-src | |
| parent | f3bfa0256904a61495280392f0ea388ee148eeef (diff) | |
| download | emacs-dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5.tar.gz emacs-dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5.zip | |
(main, both definitions): Print a newline for normal termination.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 254ba883f6f..b3dac792390 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -172,6 +172,7 @@ main (argc, argv) | |||
| 172 | 172 | ||
| 173 | rewind (out); /* re-read the output */ | 173 | rewind (out); /* re-read the output */ |
| 174 | str = fgets (string, BUFSIZ, out); | 174 | str = fgets (string, BUFSIZ, out); |
| 175 | printf ("\n"); | ||
| 175 | 176 | ||
| 176 | /* Now, wait for an answer and print any messages. */ | 177 | /* Now, wait for an answer and print any messages. */ |
| 177 | 178 | ||
| @@ -325,7 +326,9 @@ main (argc, argv) | |||
| 325 | msgrcv (s, msgp, BUFSIZ, getpid (), 0); /* wait for anything back */ | 326 | msgrcv (s, msgp, BUFSIZ, getpid (), 0); /* wait for anything back */ |
| 326 | strcpy (buf, msgp->mtext); | 327 | strcpy (buf, msgp->mtext); |
| 327 | 328 | ||
| 328 | printf ("\n%s\n", buf); | 329 | printf ("\n"); |
| 330 | if (*buf) | ||
| 331 | printf ("%s\n", buf); | ||
| 329 | exit (0); | 332 | exit (0); |
| 330 | } | 333 | } |
| 331 | 334 | ||