summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sa.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-02-16 21:20:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-02-16 21:20:23 +0000
commitf1bb225f28476909e1b5f37bd00186376627ede3 (patch)
treefb4bdceb50f55167c1c2d8c18699ed14e738f700 /sbin/isakmpd/sa.c
parent0fac444eb98c1e4bd2856ad3d6c45b2d8436f189 (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