changeset 100322:1a986381709d

(main): Fail in case of not being able to connect.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 10 Dec 2008 15:24:22 +0000
parents ebafebeca927
children 7c904e1cec2a
files lib-src/ChangeLog lib-src/emacsclient.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Wed Dec 10 15:07:56 2008 +0000
+++ b/lib-src/ChangeLog	Wed Dec 10 15:24:22 2008 +0000
@@ -5,6 +5,7 @@
 	WINDOWSNT.
 	(print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
 	(start_daemon_and_retry_set_socket): Likewise.
+	(main): Fail in case of not being able to connect.
 
 2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
 
--- a/lib-src/emacsclient.c	Wed Dec 10 15:07:56 2008 +0000
+++ b/lib-src/emacsclient.c	Wed Dec 10 15:24:22 2008 +0000
@@ -1519,6 +1519,8 @@
       }
     else
       fail ();
+  else
+    fail ();
 
   cwd = get_current_dir_name ();
   if (cwd == 0)