diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-02-16 21:20:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-02-16 21:20:23 +0000 |
commit | f1bb225f28476909e1b5f37bd00186376627ede3 (patch) | |
tree | fb4bdceb50f55167c1c2d8c18699ed14e738f700 /sbin/isakmpd/sa.c | |
parent | 0fac444eb98c1e4bd2856ad3d6c45b2d8436f189 (diff) |
Stash the environment pointer we get from realloc() instead of just
setting a flag. That way when we are called again we can be sure
to realloc() the right thing, regardless of the current value of
environ. When the stashed value != environ (or when we are called
for the first time), copy the existing entries from environ and set
environ to the new value. OK deraadt@, beck@, djm@
Diffstat (limited to 'sbin/isakmpd/sa.c')
0 files changed, 0 insertions, 0 deletions