Commit fa0cb469 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client.c: Include environ.h, and use those macros for all

getenv calls.
* src/client_pty.c: Likewise.

Rev: src/client_pty.c:1.23
parent bc7a428d
......@@ -24,6 +24,7 @@
#include "client.h"
#include "channel_commands.h"
#include "environ.h"
#include "format.h"
#include "interact.h"
#include "tty.h"
......@@ -194,7 +195,7 @@ struct command *
make_pty_request(struct interact *tty)
{
NEW(pty_request, req);
char *term = getenv("TERM");
char *term = getenv(ENV_TERM);
req->attr = INTERACT_GET_ATTRIBUTES(tty);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment