# HG changeset patch # User Karl Heuer # Date 824935981 0 # Node ID 6c73b6046d21ae9f9e20685b0bbade5387d4ca30 # Parent a8eeafa7c4affaa115784763e0168f432ee5f708 (main, both definitions): Print a newline for normal termination. diff -r a8eeafa7c4af -r 6c73b6046d21 lib-src/emacsclient.c --- 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); }