mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Fix some format specifier nits, from Ben Boeckel.
This commit is contained in:
parent
cd9ccbc1e9
commit
02df86079b
12 changed files with 31 additions and 31 deletions
|
|
@ -41,9 +41,9 @@ server_fill_environ(struct session *s, struct environ *env)
|
|||
|
||||
idx = s->id;
|
||||
} else
|
||||
idx = -1;
|
||||
idx = (u_int)-1;
|
||||
pid = getpid();
|
||||
xsnprintf(var, sizeof var, "%s,%ld,%d", socket_path, pid, idx);
|
||||
xsnprintf(var, sizeof var, "%s,%ld,%u", socket_path, pid, idx);
|
||||
environ_set(env, "TMUX", var);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue