summaryrefslogtreecommitdiffstats
path: root/server-fn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-07 10:07:22 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-07 10:07:22 +0000
commitf47a063841f2baa1590fb9e53713b3713a03020d (patch)
tree8f21004a7ea01ea5c72519e8cd3e44535c57fc45 /server-fn.c
parentbc3580fa066ee38fd752b8414cb72af7bf3861b8 (diff)
Rename session idx to session id throughout and add $ prefix to targets to use
it, extended from a diff from George Nachman.
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-fn.c b/server-fn.c
index b09415e0..4d8a658c 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -39,7 +39,7 @@ server_fill_environ(struct session *s, struct environ *env)
term = options_get_string(&s->options, "default-terminal");
environ_set(env, "TERM", term);
- idx = s->idx;
+ idx = s->id;
} else
idx = -1;
pid = getpid();