From: Karl Heuer Date: Wed, 21 Feb 1996 20:53:01 +0000 (+0000) Subject: (main, both definitions): Print a newline for normal termination. X-Git-Tag: emacs-19.34~1250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc3c30fec0b2b02c7061ab5526b02ba4fc3d32a5;p=emacs.git (main, both definitions): Print a newline for normal termination. --- 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); }