Commit 4c5f63f1 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.
* src/lsh-keygen.c: Likewise.
* src/lsh-make-seed.c: Likewise.

Rev: src/lsh-make-seed.c:1.10
parent 7fa0e0fe
......@@ -24,6 +24,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "environ.h"
#include "format.h"
#include "io.h"
#include "lock_file.h"
......@@ -175,7 +176,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
case ARGP_KEY_END:
if (!self->filename)
{
char *home = getenv("HOME");
char *home = getenv(ENV_HOME);
if (!home)
{
......
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