diff options
author | Sam Hartman <hartmans@mit.edu> | 1996-01-31 22:26:17 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 1996-01-31 22:26:17 +0000 |
commit | 87eabfc4956695f794f94248d9bdcdf8a1fa74ec (patch) | |
tree | 4fe86784b43e693a2fdc0f07412e03203d3e6de2 /src/appl/bsd/setenv.c | |
parent | 02ae2af7f92d06426591c66792c880d358b5fda0 (diff) | |
download | krb5-87eabfc4956695f794f94248d9bdcdf8a1fa74ec.tar.gz krb5-87eabfc4956695f794f94248d9bdcdf8a1fa74ec.tar.xz krb5-87eabfc4956695f794f94248d9bdcdf8a1fa74ec.zip |
* krshd: Make sure KRB5CCNAME gets set for forward creds; code could be much cleaner.
* forward.c: give caller handle to ccache so it can be destroyed.
* krshd: destroy the ccache if it is non-null.
* krlogind: Fix call, but don't destroy cache, as
login.krb5 should do that any year now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7422 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/bsd/setenv.c')
-rw-r--r-- | src/appl/bsd/setenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/bsd/setenv.c b/src/appl/bsd/setenv.c index 50405213c..96d4a1e9e 100644 --- a/src/appl/bsd/setenv.c +++ b/src/appl/bsd/setenv.c @@ -73,7 +73,7 @@ setenv(name, value, rewrite) if (!(environ[offset] = /* name + `=' + value */ malloc((u_int)((int)(C - name) + l_value + 2)))) return(-1); - for (C = environ[offset]; (*C = *name++) && *C != '='; ++C); + for (C = environ[offset]; (*C = *name++) &&( *C != '='); ++C); for (*C++ = '='; *C++ = *value++;); return(0); } |