author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 8 Sep 2015 14:46:27 +0000 (16:46 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 14 Sep 2015 18:41:31 +0000 (20:41 +0200) | ||
commit | 8d52247a4e0cbcd583f295cf44dd7b2572e9d5bd | |
tree | adf2ffc364bce10a320676f80c94d7f5b5270b83 | tree | snapshot |
parent | 2b4da1f36e67a617cf742d667ad3b922a219f7a6 | commit | diff |
notify_systemd: unset NOTIFY_SOCKET later
getenv returns a pointer, possibly to a static buffer.
If I understand the specs correctly, unsetenv is basically free
to do what it wants with this, so don't keep using the pointer
after we do unsetenv.
getenv returns a pointer, possibly to a static buffer.
If I understand the specs correctly, unsetenv is basically free
to do what it wants with this, so don't keep using the pointer
after we do unsetenv.
src/daemon/collectd.c | diff | blob | history |