]> git.eshelyaron.com Git - emacs.git/commitdiff
Add missing final newlines to message calls.
authorGlenn Morris <rgm@gnu.org>
Wed, 9 Jan 2008 04:40:14 +0000 (04:40 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 9 Jan 2008 04:40:14 +0000 (04:40 +0000)
lib-src/ChangeLog
lib-src/emacsclient.c

index 8cdce18bd8725a0eff6fc91dc36a1b454d49466f..16cca0959b39bb46c6fffae3888f3747dffd6496 100644 (file)
@@ -1,3 +1,11 @@
+2008-01-09  Glenn Morris  <rgm@gnu.org>
+
+       * emacsclient.c: Add missing final newlines to message calls.
+
+2008-01-09  Daniel Hackney <dan@haxney.org>  (tiny change)
+
+       * emacsclient.c (set_socket): Add final newline to socket error message.
+
 2008-01-04  Glenn Morris  <rgm@gnu.org>
 
        * ebrowse.c (version) <emacs_copyright>: New variable.
index ddb4ad10a2ca516311d38c61a341260cd6660c6e..4fcd3398bd24deb6aba4c241ea5f353202066662 100644 (file)
@@ -882,7 +882,7 @@ initialize_sockets ()
 
   if (WSAStartup (MAKEWORD (2, 0), &wsaData))
     {
-      message (TRUE, "%s: error initializing WinSock2", progname);
+      message (TRUE, "%s: error initializing WinSock2\n", progname);
       exit (EXIT_FAILURE);
     }
 
@@ -939,7 +939,7 @@ get_server_config (server, authentication)
     }
   else
     {
-      message (TRUE, "%s: invalid configuration info", progname);
+      message (TRUE, "%s: invalid configuration info\n", progname);
       exit (EXIT_FAILURE);
     }
 
@@ -949,7 +949,7 @@ get_server_config (server, authentication)
 
   if (! fread (authentication, AUTH_KEY_LENGTH, 1, config))
     {
-      message (TRUE, "%s: cannot read authentication info", progname);
+      message (TRUE, "%s: cannot read authentication info\n", progname);
       exit (EXIT_FAILURE);
     }
 
@@ -1167,7 +1167,7 @@ set_local_socket ()
       strcpy (server.sun_path, socket_name);
     else
       {
-        message (TRUE, "%s: socket-name %s too long",
+        message (TRUE, "%s: socket-name %s too long\n",
                  progname, socket_name);
         fail ();
       }
@@ -1202,7 +1202,7 @@ set_local_socket ()
                  strcpy (server.sun_path, socket_name);
                else
                  {
-                   message (TRUE, "%s: socket-name %s too long",
+                   message (TRUE, "%s: socket-name %s too long\n",
                             progname, socket_name);
                    exit (EXIT_FAILURE);
                  }
@@ -1282,7 +1282,7 @@ set_socket ()
       if ((s != INVALID_SOCKET) || alternate_editor)
        return s;
 
-      message (TRUE, "%s: error accessing server file \"%s\"",
+      message (TRUE, "%s: error accessing server file \"%s\"\n",
               progname, server_file);
       exit (EXIT_FAILURE);
     }