Mercurial > emacs
changeset 14610:6c73b6046d21
(main, both definitions): Print a newline for normal termination.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 21 Feb 1996 20:53:01 +0000 |
parents | a8eeafa7c4af |
children | 69fca906f068 |
files | lib-src/emacsclient.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Wed Feb 21 17:17:51 1996 +0000 +++ b/lib-src/emacsclient.c Wed Feb 21 20:53:01 1996 +0000 @@ -172,6 +172,7 @@ 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 @@ 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); }