Mercurial > emacs
diff lib-src/emacsclient.c @ 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 | ee40177f6c68 |
children | 7e712d42d371 |
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); }