diff options
| author | Dan Nicolaescu | 2008-12-10 15:24:22 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-12-10 15:24:22 +0000 |
| commit | 45ce4570744ae5934954f695756b0870af57bfa8 (patch) | |
| tree | b8f77eddc16800b9a9ab7c329e5ea7bdd859e6f3 /lib-src | |
| parent | 69157c99605e62661bb2deb653ca7f4042624766 (diff) | |
| download | emacs-45ce4570744ae5934954f695756b0870af57bfa8.tar.gz emacs-45ce4570744ae5934954f695756b0870af57bfa8.zip | |
(main): Fail in case of not being able to connect.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 1 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0a4d91a7e75..f58c5d04b50 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | WINDOWSNT. | 5 | WINDOWSNT. |
| 6 | (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT. | 6 | (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT. |
| 7 | (start_daemon_and_retry_set_socket): Likewise. | 7 | (start_daemon_and_retry_set_socket): Likewise. |
| 8 | (main): Fail in case of not being able to connect. | ||
| 8 | 9 | ||
| 9 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> | 10 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> |
| 10 | 11 | ||
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 7fbedbce141..56e8b5b9859 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1519,6 +1519,8 @@ main (argc, argv) | |||
| 1519 | } | 1519 | } |
| 1520 | else | 1520 | else |
| 1521 | fail (); | 1521 | fail (); |
| 1522 | else | ||
| 1523 | fail (); | ||
| 1522 | 1524 | ||
| 1523 | cwd = get_current_dir_name (); | 1525 | cwd = get_current_dir_name (); |
| 1524 | if (cwd == 0) | 1526 | if (cwd == 0) |