Commit 0205a457 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.
* src/gateway.c: Likewise.

Rev: src/gateway.c:1.7
parent 517d2391
......@@ -24,6 +24,7 @@
#include "gateway.h"
#include "environ.h"
#include "format.h"
#include "io.h"
......@@ -78,7 +79,7 @@ struct local_info *
make_gateway_address(char *local_user, char *remote_user,
struct address_info *target)
{
char *tmp = getenv("TMPDIR");
char *tmp = getenv(ENV_TMPDIR);
if (!tmp)
tmp = "/tmp";
......
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