diff options
| author | Juanma Barranquero | 2012-04-12 20:22:06 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-04-12 20:22:06 +0200 |
| commit | 9401b32679f2f38165d0da535b93fd3bbdb20b96 (patch) | |
| tree | 776e77ef33e812cbdcded7aef8194c4ee0ebde3f | |
| parent | 81927dd2a4205aa38bc5aaa37eb3aa8ab57fb8de (diff) | |
| download | emacs-9401b32679f2f38165d0da535b93fd3bbdb20b96.tar.gz emacs-9401b32679f2f38165d0da535b93fd3bbdb20b96.zip | |
lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13:01Z!lekktu@gmail.com.
Call ttyname instead of passing its address.
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 2384599caf2..dd10026447f 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * emacsclient.c (decode_options) [WINDOWSNT]: | ||
| 4 | Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com). | ||
| 5 | |||
| 1 | 2012-03-11 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2012-03-11 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * emacsclient.c (main): Handle -print-nonl command. | 8 | * emacsclient.c (main): Handle -print-nonl command. |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 049886ed2ba..05fd0f3515e 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -648,7 +648,7 @@ decode_options (int argc, char **argv) | |||
| 648 | server.el check whether it makes sense. */ | 648 | server.el check whether it makes sense. */ |
| 649 | if (tty || !current_frame) | 649 | if (tty || !current_frame) |
| 650 | { | 650 | { |
| 651 | display = (const char *) ttyname; | 651 | display = (const char *) ttyname (0); /* Arg is ignored. */ |
| 652 | current_frame = 0; | 652 | current_frame = 0; |
| 653 | tty = 1; | 653 | tty = 1; |
| 654 | } | 654 | } |