diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-02-21 20:53:01 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-02-21 20:53:01 +0000 |
commit | dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5 (patch) | |
tree | aa12dac38c0b2df2ece0b00c26a494e16979f8f3 /lib-src/emacsclient.c | |
parent | f3bfa0256904a61495280392f0ea388ee148eeef (diff) | |
download | emacs-dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5.tar.gz |
(main, both definitions): Print a newline for normal termination.
Diffstat (limited to 'lib-src/emacsclient.c')
-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) rewind (out); /* re-read the output */ str = fgets (string, BUFSIZ, out); + printf ("\n"); /* Now, wait for an answer and print any messages. */ @@ -325,7 +326,9 @@ main (argc, argv) msgrcv (s, msgp, BUFSIZ, getpid (), 0); /* wait for anything back */ strcpy (buf, msgp->mtext); - printf ("\n%s\n", buf); + printf ("\n"); + if (*buf) + printf ("%s\n", buf); exit (0); } |