aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorJuanma Barranquero2012-04-12 20:22:06 +0200
committerJuanma Barranquero2012-04-12 20:22:06 +0200
commit9401b32679f2f38165d0da535b93fd3bbdb20b96 (patch)
tree776e77ef33e812cbdcded7aef8194c4ee0ebde3f /lib-src/emacsclient.c
parent81927dd2a4205aa38bc5aaa37eb3aa8ab57fb8de (diff)
downloademacs-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.c2
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 }