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 /lib-src/emacsclient.c | |
| 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.
Diffstat (limited to 'lib-src/emacsclient.c')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | } |